diff options
| author | Eren K <90657474+real-eren@users.noreply.github.com> | 2023-08-22 09:09:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-22 09:09:00 -0400 |
| commit | efa41ef8036a2b85d088ac3f203ee31ec0d99827 (patch) | |
| tree | 11cb1af16cb8a417f41f31254487d7f885b8d7ae /src/etc/rust-gdbgui | |
| parent | 95305899b8493a65065ebdeae44e841d243621eb (diff) | |
| download | rust-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-x | src/etc/rust-gdbgui | 6 |
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" \ |
