entrypoint: clear inputs

This commit is contained in:
Sameer Naik 2016-09-04 23:39:46 +05:30
parent c101b0e676
commit 1c7fd45faa
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ function initialize {
# Package can be "installed" or "unpacked"
status=`nami inspect $1`
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
inputs=""
if [[ -f /$1-inputs.json ]]; then
inputs=--inputs-file=/$1-inputs.json
fi