summaryrefslogtreecommitdiff
path: root/tools/release
diff options
context:
space:
mode:
authorMichael Chicoine <mc2739@gmail.com>2009-12-03 14:55:22 +0000
committerMichael Chicoine <mc2739@gmail.com>2009-12-03 14:55:22 +0000
commit1ac3b4b60575ad6026b3963d59a12a475ae54ebf (patch)
tree532734324cea94a229dd7b06d09444d6f7679546 /tools/release
parent85fd1000796986dbb77f4112c37833db7de781dc (diff)
downloadrockbox-1ac3b4b60575ad6026b3963d59a12a475ae54ebf.tar.gz
rockbox-1ac3b4b60575ad6026b3963d59a12a475ae54ebf.zip
sims.pl - Do not create zip if build fails. This should prevent working simulator builds being overwritten by failed builds when uploaded to the hosting server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23827 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/release')
-rwxr-xr-xtools/release/sims.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/release/sims.pl b/tools/release/sims.pl
index 24da40c832..80e3bc2e74 100755
--- a/tools/release/sims.pl
+++ b/tools/release/sims.pl
@@ -106,6 +106,16 @@ sub runone {
106 # build the target 106 # build the target
107 $a = buildit($dir, $confnum, $extra); 107 $a = buildit($dir, $confnum, $extra);
108 108
109 # Do not continue if the rockboxui executable is not created. This will
110 # prevent a good build getting overwritten by a bad build when
111 # uploaded to the web server.
112 unless ( (-e "rockboxui") || (-e "rockboxui.exe") ) {
113 print "No rockboxui, clean up and return\n" if($verbose);
114 chdir "..";
115 system("rm -rf build-$dir");
116 return $a;
117 }
118
109 if ($strip) { 119 if ($strip) {
110 print "Stripping binaries\n" if ($verbose); 120 print "Stripping binaries\n" if ($verbose);
111 # find \( -name "*.exe" -o -name "*.rock" -o -name "*.codec" \) -exec ls -l "{}" ";" 121 # find \( -name "*.exe" -o -name "*.rock" -o -name "*.codec" \) -exec ls -l "{}" ";"