about summary refs log tree commit diff
path: root/src/etc/rust-gdbgui
diff options
context:
space:
mode:
authorEren K <90657474+real-eren@users.noreply.github.com>2023-08-22 09:09:00 -0400
committerGitHub <noreply@github.com>2023-08-22 09:09:00 -0400
commitefa41ef8036a2b85d088ac3f203ee31ec0d99827 (patch)
tree11cb1af16cb8a417f41f31254487d7f885b8d7ae /src/etc/rust-gdbgui
parent95305899b8493a65065ebdeae44e841d243621eb (diff)
downloadrust-efa41ef8036a2b85d088ac3f203ee31ec0d99827.tar.gz
rust-efa41ef8036a2b85d088ac3f203ee31ec0d99827.zip
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.
Diffstat (limited to 'src/etc/rust-gdbgui')
-rwxr-xr-xsrc/etc/rust-gdbgui6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/rust-gdbgui b/src/etc/rust-gdbgui
index 913269316bd..471810cbb18 100755
--- a/src/etc/rust-gdbgui
+++ b/src/etc/rust-gdbgui
@@ -55,9 +55,9 @@ RUST_GDBGUI="${RUST_GDBGUI:-gdbgui}"
 
 # These arguments get passed through to GDB and make it load the
 # Rust pretty printers.
-GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\"" \
-   "-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\"" \
-   "-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
+GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\" \
+   -iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\" \
+   -iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
 
 # Finally we execute gdbgui.
 PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" \