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-cat-conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libexec/app-cat-conf') diff --git a/libexec/app-cat-conf b/libexec/app-cat-conf index 857ecaf..c75955b 100755 --- a/libexec/app-cat-conf +++ b/libexec/app-cat-conf @@ -40,9 +40,10 @@ done if [[ $use_default_files == yes ]] then - if [ -r ".app/config" ] + app_home=${APP_HOME-.} + if [ -r "$app_home/.app/config" ] then - files+=(".app/config") + files+=("$app_home/.app/config") fi files+=(${APPSH_DEFAULT_CONFIG-$APPSH_HOME/lib/default-config}) -- cgit v1.2.3