Browse Source

Merge branch 'main' of http://bc.zycoo.com:3000/speaker/m2_g2_fs

chengyi.xu 5 hours ago
parent
commit
ea2b76c414
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