Parcourir la source

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 il y a 4 ans
Parent
commit
7caee2c0a6
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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