aboutsummaryrefslogtreecommitdiff
path: root/bin/app-conf
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-27 21:10:30 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-27 21:10:30 +0100
commita4215743db91c4b7050dfda32a670814a101b773 (patch)
tree7466510ff53e0576cfcb2e2433b9300fd0a45901 /bin/app-conf
parent1e4a96730da70fcfa3b8c153874cbdebad0f9829 (diff)
downloadapp.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 'bin/app-conf')
-rwxr-xr-xbin/app-conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/app-conf b/bin/app-conf
index d281740..3cf0383 100755
--- a/bin/app-conf
+++ b/bin/app-conf
@@ -86,7 +86,8 @@ usage() {
exit 1
}
-file=".app/config"
+app_home=${APP_HOME-.}
+file="$app_home/.app/config"
if [ $# -gt 0 ]
then