blob: 632f26169bdcdd612f4f2b700d3635ba59de3826 [file] [log] [blame]
Christopher Piro094823a2007-07-18 00:26:12 +00001#!/bin/sh
2if [ "$#" -ne "1" ]
3then
4 echo $USAGE
5 exit 1
6fi
7
8CURRENT_DIR=`pwd`
9echo $CURRENT_DIR
10
11# Establish the otp base directory.
12MY_CMD=`which $0`
13MY_CMD_DIR=`dirname $MY_CMD`
14OTP_BASE_DIR=$MY_CMD_DIR/../..
15
16erl -noshell -pz $OTP_BASE_DIR/lib/fslib/ebin -s fs_lib s_apply edoc application "$1". "\"../../$1"\". []." " -s init stop | egrep "(EXIT|terminating)"