Skip to content
Snippets Groups Projects
Commit 1eca9775 authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

sitl_run.sh: fix $rootfs not set (needed for efk2 replay)

parent bb61144e
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ echo build_path: $build_path
working_dir=`pwd`
sitl_bin=$build_path/src/firmware/posix/px4
rootfs=$build_path/tmp/rootfs
if [ "$chroot" == "1" ]
then
......@@ -95,6 +96,7 @@ then
# Check if we need to creat a param file to allow user to change parameters
if ! [ -f "$rootfs/replay_params.txt" ]
then
mkdir -p $rootfs
touch $rootfs/replay_params.txt
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment