diff options
Diffstat (limited to 'contrib/local/compress_and_upload_deps.sh')
-rwxr-xr-x | contrib/local/compress_and_upload_deps.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/local/compress_and_upload_deps.sh b/contrib/local/compress_and_upload_deps.sh index e47d7b5..90a398d 100755 --- a/contrib/local/compress_and_upload_deps.sh +++ b/contrib/local/compress_and_upload_deps.sh @@ -36,7 +36,11 @@ for FILE in ${PLATFORMS}; do PLATFORM=`basename $FILE` echo $FILE if [ "$PLATFORM" != "include" ]; then - tar cvzf uscxml-prebuilt-${PLATFORM}.tgz --exclude='*/.DS_Store' --exclude='VERSION.txt' --exclude='lib/*_d.a' ${FILE} + if [ "$PLATFORM" == windows* ]; then + tar cvzf uscxml-prebuilt-${PLATFORM}.tgz --exclude='*/.DS_Store' --exclude='VERSION.txt' ${FILE} + else + tar cvzf uscxml-prebuilt-${PLATFORM}.tgz --exclude='*/.DS_Store' --exclude='VERSION.txt' --exclude='lib/*_d.a' ${FILE} + fi scp uscxml-prebuilt-${PLATFORM}.tgz ${USCXML_PREBUILT_HOST}:${USCXML_PREBUILT_PATH}/${VERSION} rm uscxml-prebuilt-${PLATFORM}.tgz else |