diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-18 13:38:58 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-18 13:38:58 +0200 |
commit | 83c13f1181c4062ca5296ea956e950064bde0ffe (patch) | |
tree | ea021190acabc6e675510e13987cd4addbf50765 /.app/lib/app-operate | |
parent | 993c9a7807e38b365f48334fff6640e07647af03 (diff) | |
download | app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.gz app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.bz2 app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.xz app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.zip |
o Making all scripts be run from the root/ directory. Do not assume you're in current/.
Diffstat (limited to '.app/lib/app-operate')
-rw-r--r-- | .app/lib/app-operate | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/.app/lib/app-operate b/.app/lib/app-operate index 45e3da2..83ca100 100644 --- a/.app/lib/app-operate +++ b/.app/lib/app-operate @@ -45,6 +45,7 @@ run_control() { env -i \ PATH=/bin:/usr/bin \ $e \ + PWD=$PWD \ APPSH_METHOD=$method \ APPSH_APPS=$apps \ APPSH_HOME=$APPSH_HOME \ @@ -56,14 +57,6 @@ run_control() { set +x set -e -# case $ret in -# 0) -# echo "Method ${method} completed successfully for $name/$instance" -# ;; -# *) -# echo "Error running method ${method} for $name/$instance" -# ;; -# esac exit $ret ) } |