Merge pull request #12 from YunoHost/envvar

Envvar
This commit is contained in:
julienmalik
2016-05-03 12:01:25 +02:00
5 changed files with 25 additions and 14 deletions

View File

@@ -3,8 +3,7 @@
# causes the shell to exit if any subcommand or pipeline returns a non-zero status
set -e
# The last argument is the app instance name
app=${!#}
app=$YNH_APP_INSTANCE_NAME
# The first argument is the backup directory location of the app
# from where the script is executed