From a4215743db91c4b7050dfda32a670814a101b773 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 27 Jan 2013 21:10:30 +0100 Subject: 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. --- libexec/app-operate | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libexec/app-operate') 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" "$@" -- cgit v1.2.3