diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 21:10:30 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 21:10:30 +0100 |
commit | a4215743db91c4b7050dfda32a670814a101b773 (patch) | |
tree | 7466510ff53e0576cfcb2e2433b9300fd0a45901 /libexec/app-operate | |
parent | 1e4a96730da70fcfa3b8c153874cbdebad0f9829 (diff) | |
download | app.sh-a4215743db91c4b7050dfda32a670814a101b773.tar.gz app.sh-a4215743db91c4b7050dfda32a670814a101b773.tar.bz2 app.sh-a4215743db91c4b7050dfda32a670814a101b773.tar.xz app.sh-a4215743db91c4b7050dfda32a670814a101b773.zip |
Defining 'APP_HOME' as where the .app dir is. The tools should use
this value to find files.
app-operate/app-operator-pid: These are "functional" now.
Diffstat (limited to 'libexec/app-operate')
-rwxr-xr-x | libexec/app-operate | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/app-operate b/libexec/app-operate index 452f658..5fa939d 100755 --- a/libexec/app-operate +++ b/libexec/app-operate @@ -11,15 +11,13 @@ APPSH_HOME=$(cd $(dirname "$0")/.. && pwd) assert_is_app method="$1"; shift -set -x bin=`app-conf get app.operator` bin=${bin:-$APPSH_HOME/libexec/app-operator-pid} if [ ! -x "$bin" ] then - echo "Invalid executable: $bin" >&2 - exit 1 + fatal "Invalid executable: $bin" >&2 fi -run_app "$bin" "$@" +run_app "$bin" "$method" "$@" |