mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
autotest: use mktemp instead of tempfile
more portable
This commit is contained in:
parent
dc66708856
commit
d5d2fc667f
@ -10,7 +10,7 @@ autotest=$(dirname $(readlink -e $0))
|
||||
pushd $autotest/../../ArduPlane
|
||||
make clean obc-sitl
|
||||
|
||||
tfile=$(tempfile)
|
||||
tfile=$(mktemp)
|
||||
echo r > $tfile
|
||||
#gnome-terminal -e "gdb -x $tfile --args /tmp/ArduPlane.build/ArduPlane.elf"
|
||||
gnome-terminal -e /tmp/ArduPlane.build/ArduPlane.elf
|
||||
|
@ -10,7 +10,7 @@ autotest=$(dirname $(readlink -e $0))
|
||||
pushd $autotest/../../APMrover2
|
||||
make clean sitl
|
||||
|
||||
tfile=$(tempfile)
|
||||
tfile=$(mktemp)
|
||||
(
|
||||
echo r
|
||||
) > $tfile
|
||||
|
Loading…
Reference in New Issue
Block a user