fix for bug 2165 - rename zip files
authorJohn Kern <johnk@symbian.org>
Fri, 05 Mar 2010 15:43:17 -0800
changeset 228 913c9751c067
parent 227 890aeb1e82d7
child 229 716254ccbcc0
fix for bug 2165 - rename zip files
scripts/shepard.sh
--- a/scripts/shepard.sh	Fri Mar 05 15:23:35 2010 -0800
+++ b/scripts/shepard.sh	Fri Mar 05 15:43:17 2010 -0800
@@ -42,3 +42,17 @@
 
 ${ANT_CMD} -DbuildDirectory=${BUILD_DIR} -DsourceDirectory=${SOURCE_DIR}
 
+cd ${BUILD_DIR}/N.TestBuild
+
+# bug 2165 - add a timestamp to filename 
+for file in *.zip
+do
+  if [ -f $file ] ; then
+    file_original=`basename $file`
+    # name without extension
+    file_stamped=${file_original%\.*}-${ECLIPSE_TIMESTAMP}.zip
+    mv ${file_original} ${file_stamped}
+  fi ;
+done
+
+