sushichao 5 hours ago
parent
commit
8b87638e2c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      readyForTarget.sh

+ 2 - 0
readyForTarget.sh

@@ -7,6 +7,8 @@ if [ $# = 1 ];then
         exit 0
     fi
 
+    git pull
+
     #modify build date
     build_date="`date \"+%Y-%m-%d\"`"
     cd oem/etc && awk -v new_date="$build_date" '/^\[upgrade\]/{f=1} f==1 && /^date=/{sub(/=.*/, "=" new_date); f=0} 1' speaker.conf > temp.conf && mv speaker.conf ../../speaker.conf.bak && mv temp.conf speaker.conf