diff --git a/Tools/autotest/sim_arducopter.sh b/Tools/autotest/sim_arducopter.sh index 93e540c863..28cadd060f 100755 --- a/Tools/autotest/sim_arducopter.sh +++ b/Tools/autotest/sim_arducopter.sh @@ -26,7 +26,7 @@ autotest=$(dirname $(readlink -e $0)) pushd $autotest/../../ArduCopter make clean $target -tfile=$(tempfile) +tfile=$(mktemp) echo r > $tfile #gnome-terminal -e "gdb -x $tfile --args /tmp/ArduCopter.build/ArduCopter.elf" gnome-terminal -e /tmp/ArduCopter.build/ArduCopter.elf diff --git a/Tools/autotest/sim_arducopter10.sh b/Tools/autotest/sim_arducopter10.sh index 262fd6de09..2baab186c4 100755 --- a/Tools/autotest/sim_arducopter10.sh +++ b/Tools/autotest/sim_arducopter10.sh @@ -26,7 +26,7 @@ autotest=$(dirname $(readlink -e $0)) pushd $autotest/../../ArduCopter make clean $target-mavlink10 -tfile=$(tempfile) +tfile=$(mktemp) echo r > $tfile #gnome-terminal -e "gdb -x $tfile --args /tmp/ArduCopter.build/ArduCopter.elf" gnome-terminal -e /tmp/ArduCopter.build/ArduCopter.elf diff --git a/Tools/autotest/sim_arduplane.sh b/Tools/autotest/sim_arduplane.sh index 030aa2144b..a613a6ee20 100755 --- a/Tools/autotest/sim_arduplane.sh +++ b/Tools/autotest/sim_arduplane.sh @@ -7,7 +7,7 @@ autotest=$(dirname $(readlink -e $0)) pushd $autotest/../../ArduPlane make clean 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 diff --git a/Tools/autotest/sim_arduplane10.sh b/Tools/autotest/sim_arduplane10.sh index a9c3279bf3..7933775a26 100755 --- a/Tools/autotest/sim_arduplane10.sh +++ b/Tools/autotest/sim_arduplane10.sh @@ -7,7 +7,7 @@ autotest=$(dirname $(readlink -e $0)) pushd $autotest/../../ArduPlane make clean sitl-mavlink10 -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