[fix] Update arguments passed to the scripts

This commit is contained in:
Jérôme Lebleu
2016-04-26 15:30:49 +02:00
parent b822ff2cba
commit 760163f823
5 changed files with 17 additions and 11 deletions

View File

@@ -3,7 +3,8 @@
# causes the shell to exit if any subcommand or pipeline returns a non-zero status
set -e
app=ynhexample
# The last argument is the app instance name
app=${!#}
# Retrieve arguments
domain=$1