changeset 465:eb09281af924

Improved the build script to correctly create a Zip from the tar file by waiting until the tar file has been created. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@702 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Mon, 26 May 2008 10:19:01 +0000
parents 1f2d2953fdbb
children 0babe9272732
files buildRelease.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/buildRelease.sh	Mon May 26 10:18:13 2008 +0000
+++ b/buildRelease.sh	Mon May 26 10:19:01 2008 +0000
@@ -438,6 +438,11 @@
         echo "ERROR: Could not create archive \"$targetArchiveName\"!"
         exit 1
     fi
+    # wait until the tar file has been created
+    while [ ! -f "$targetArchiveName" ]
+    do
+        sleep 1
+    done
     gzip -9 -f $targetArchiveName
     if [ $? -gt 0 ]; then
         echo "ERROR: Could not create archive \"$targetArchiveName.gz\"!"