diff unix-tarball @ 344:1b35fceccaaa

Fixes.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 05 Sep 2009 23:04:40 +0000
parents ab48acaf2a4f
children
line wrap: on
line diff
--- a/unix-tarball	Sat Sep 05 23:01:11 2009 +0000
+++ b/unix-tarball	Sat Sep 05 23:04:40 2009 +0000
@@ -17,6 +17,7 @@
 
 rm -rf "${BUILD_FOLDER}"
 mkdir -p "${BUILD_FOLDER}"
+mkdir -p dist
 
 #
 # Export source and then copy pgu to build folder
@@ -57,8 +58,7 @@
 cd build
 tar czf "foxassault-${OFA_VERSION}.tgz" "foxassault-${OFA_VERSION}"
 cd ..
-cp "build/foxassault-${OFA_VERSION}.tgz" "${DIST_FILE}"
-rm "build/foxassault-${OFA_VERSION}.tgz"
+mv "build/foxassault-${OFA_VERSION}.tgz" "${DIST_FILE}"
 
 echo "  Tar file: ${DIST_FILE}"
 echo "  Build folder: ${BUILD_FOLDER}"