From 6453edf8c5c1dbd8f797d8854b500a54c3d6f360 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 20 May 2014 12:48:17 -0700 Subject: [PATCH] scripts: chmod for dist --- scripts/dist.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/dist.sh b/scripts/dist.sh index 31e6e8947..8f58d6d94 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -43,6 +43,10 @@ for FILENAME in $(find ./dist -mindepth 1 -maxdepth 1 -type f); do if [ "${FILENAME}" = "ui.zip" ]; then cp ${FILENAME} ./pkg/${VERSION}_web_ui.zip else + if [ "${EXTENSION}" = "" ]; then + chmod +x ${FILENAME} + fi + cp ${FILENAME} ${CONSULNAME} zip ./pkg/${VERSION}_${PLATFORM}.zip ${CONSULNAME} rm ${CONSULNAME}