scripts: chmod for dist

This commit is contained in:
Mitchell Hashimoto 2014-05-20 12:48:17 -07:00
parent 765286e45f
commit 36a1b59348
1 changed files with 4 additions and 0 deletions

View File

@ -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}