diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-04-03 16:18:05 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2019-04-03 16:18:05 -0500 |
| commit | 458eea04d31f749c0494cf78d040bf8e80ddf9da (patch) | |
| tree | abacea4b4226c2c96b4f16cec4d5a44a4caec1a7 /scripts | |
| parent | 4561f1809feb16dff449daa972466e3ed2dfe494 (diff) | |
Fix unbound variable EXECUTABLE
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/wasabi.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/wasabi.sh b/scripts/wasabi.sh index 2e8932d9..0613ffdd 100755 --- a/scripts/wasabi.sh +++ b/scripts/wasabi.sh @@ -56,13 +56,13 @@ if [[ -n $ARCHIVE_FULL ]]; then export ARCHIVE_FULL_ARG="-f ${ARCHIVE_FULL}" fi -if [[ -n $EXECUTABLE ]]; then +if [[ -v $EXECUTABLE ]]; then export EXECUTABLE_ARG="-e ${EXECUTABLE}" fi ${S3_COPY} ${S3_MANIFESTS}/${MANIFEST} . node $(dirname $0)/update_manifest.js ${MANIFEST} ${VERSION} \ - ${ARCHIVE_FULL_ARG} ${ARCHIVE_INCR_ARG} ${EXECUTABLE} + ${ARCHIVE_FULL_ARG} ${ARCHIVE_INCR_ARG} ${EXECUTABLE_ARG} if [[ -n $ARCHIVE_INCR_ARG ]]; then ${S3_COPY} ${ARCHIVE_INCR} ${S3_ARCHIVES} |
