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