Explorar o código

Clean up the temp file.

We didn't need to before, we moved it to
images.h.  But now, if files match, delete
it/clean up the temp file.
bugz %!s(int64=4) %!d(string=hai) anos
pai
achega
7caee2c0a6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      build_images.sh

+ 2 - 0
build_images.sh

@@ -23,6 +23,8 @@ if [ -f "$FINAL" ]; then
   status=$?
   if [ $status -eq 0 ]; then
     echo "no change..."
+    # Clean up temp file
+    rm -f $BASE    
   else
     mv -f $BASE $FINAL
   fi