aboutsummaryrefslogtreecommitdiff
path: root/libexec/app-cat-conf
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/app-cat-conf')
-rwxr-xr-xlibexec/app-cat-conf5
1 files changed, 3 insertions, 2 deletions
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})