mirror of https://github.com/ArduPilot/ardupilot
autotest: fixed build_binaries.sh script bug
This commit is contained in:
parent
4d20ccadbc
commit
af68fa94c0
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue