瀏覽代碼

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 4 年之前
父節點
當前提交
7caee2c0a6
共有 1 個文件被更改,包括 2 次插入0 次删除
  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