Skip to content
Snippets Groups Projects
Commit 3c0f5406 authored by Jens Nolte's avatar Jens Nolte
Browse files

Fix scripts for first usage

parent 84739270
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ function link_device_directory {
DIR="../$1"
fi
echo "Linking main/device to $DIR"
rm "main/device"
rm "main/device" || true
ln -s "$DIR" "main/device"
touch --no-create "device/device_config.h"
touch --no-create "device/device_main.cpp"
......
......@@ -18,7 +18,7 @@ function link_environment {
TARGET="../$1"
fi
echo "Linking main/environment.h to $TARGET"
rm "main/environment.h"
rm "main/environment.h" || true
ln -s "$TARGET" "main/environment.h"
touch --no-create "main/environment.h"
}
......
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