Skip to content

Commit efa41ef

Browse files
authored
rust-gdbgui: remove excessive quotes
in commit 8dd0ec6, the `GDB_ARGS` variable was split across 3 lines. However, extra quotes were added to each line, such that the shell interprets the 3 lines as space separated strings, and tries to execute the latter two lines. This commit simply removes the extra quotes.
1 parent 9530589 commit efa41ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/etc/rust-gdbgui

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ RUST_GDBGUI="${RUST_GDBGUI:-gdbgui}"
5555

5656
# These arguments get passed through to GDB and make it load the
5757
# Rust pretty printers.
58-
GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\"" \
59-
"-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\"" \
60-
"-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
58+
GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\" \
59+
-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\" \
60+
-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
6161

6262
# Finally we execute gdbgui.
6363
PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" \

0 commit comments

Comments
 (0)