autotest: fixed build_binaries.sh script bug

This commit is contained in:
Andrew Tridgell 2016-03-29 15:39:08 +11:00
parent 4d20ccadbc
commit af68fa94c0
1 changed files with 0 additions and 2 deletions

View File

@ -115,8 +115,6 @@ addfwversion() {
version=$(grep 'define.THISFIRMWARE' *.pde *.h 2> /dev/null | cut -d'"' -f2) version=$(grep 'define.THISFIRMWARE' *.pde *.h 2> /dev/null | cut -d'"' -f2)
echo >> "$destdir/git-version.txt" echo >> "$destdir/git-version.txt"
echo "APMVERSION: $version" >> "$destdir/git-version.txt" echo "APMVERSION: $version" >> "$destdir/git-version.txt"
echo "PWD"
`pwd`
python $BASEDIR/Tools/PrintVersion.py >"$destdir/firmware-version.txt" python $BASEDIR/Tools/PrintVersion.py >"$destdir/firmware-version.txt"
} }
} }