diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-17 21:03:43 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-17 21:05:52 +0200 |
commit | fbc6c0b93a88ac10730dd6f4492750cd32e2b44a (patch) | |
tree | 06da50f5115f1f20b34dad817b98cd1bc4c677ea /.app/lib/app-instance | |
parent | 265b1d8b25945898e11801242dbff7639e1a4a60 (diff) | |
download | app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.tar.gz app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.tar.bz2 app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.tar.xz app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.zip |
o Adding environment variables to postinstall:
- APPSH_BASEDIR
- APPSH_HOME
- APPSH_INSTANCE
- APPSH_NAME
- APPSH_VERSION
Diffstat (limited to '.app/lib/app-instance')
-rw-r--r-- | .app/lib/app-instance | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.app/lib/app-instance b/.app/lib/app-instance index 2012a74..5c452d2 100644 --- a/.app/lib/app-instance +++ b/.app/lib/app-instance @@ -210,6 +210,11 @@ method_install() { set +e env -i \ PATH=/bin:/usr/bin \ + APPSH_BASEDIR=$BASEDIR \ + APPSH_HOME=$APPSH_HOME \ + APPSH_NAME=$name \ + APPSH_INSTANCE=$instance \ + APPSH_VERSION=$resolved_version \ scripts/postinstall set -e ret=`echo $?` |