Fixed removing all variables

This commit is contained in:
gator96100 2020-12-29 18:26:51 +01:00
parent c58b1043b8
commit cc2b36430d

4
.vscode/setup.sh vendored
View file

@ -79,7 +79,7 @@ function setup_wsl {
setup_gdb_linux
setup_jlink_wsl
cp "$VSCODEPATH/templates/tasks_wsl.json" "$VSCODEPATH/tasks.json"
envsubst <"$VSCODEPATH/templates/launch_wsl.json" > "$VSCODEPATH/launch.json"
envsubst '${SerialPort} ${DebuggerPath} ${JLinkServerPath} ${DeviceMem}' <"$VSCODEPATH/templates/launch_wsl.json" > "$VSCODEPATH/launch.json"
}
function setup_linux {
@ -87,7 +87,7 @@ function setup_linux {
setup_gdb_linux
setup_jlink_linux
cp "$VSCODEPATH/templates/tasks_linux.json" "$VSCODEPATH/tasks.json"
envsubst <"$VSCODEPATH/templates/launch_linux.json" > "$VSCODEPATH/launch.json"
envsubst '${SerialPort} ${DebuggerPath} ${JLinkServerPath} ${DeviceMem}' <"$VSCODEPATH/templates/launch_linux.json" > "$VSCODEPATH/launch.json"
}
function setup_ps {