aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-03-19 22:53:36 +0000
committerSam James <sam@gentoo.org>2025-03-19 22:53:36 +0000
commitd19d6bc17e0a160ce27fc572079f11a587c0e168 (patch)
tree39d7f52a2c2557fb9496eb6406d3b537a62a3be1 /gdb
parent3bed686102cb14552d2ed1b83336453d7ce0dd47 (diff)
downloadbinutils-d19d6bc17e0a160ce27fc572079f11a587c0e168.zip
binutils-d19d6bc17e0a160ce27fc572079f11a587c0e168.tar.gz
binutils-d19d6bc17e0a160ce27fc572079f11a587c0e168.tar.bz2
gcore: quote PKGVERSION
Same as 3bed686102cb14552d2ed1b83336453d7ce0dd47. I didn't hit an issue here -- I think because my /bin/sh is dash and gdb-add-index has a /bin/sh shebang, while gcore uses bash, but it's still worth fixing (we certainly do NOT want this to be an array). Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32325
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gcore-1.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gcore-1.in b/gdb/gcore-1.in
index 129e369..c0979a5 100644
--- a/gdb/gcore-1.in
+++ b/gdb/gcore-1.in
@@ -20,8 +20,8 @@
# It starts up gdb, attaches to the given PID and invokes the gcore command.
#
-PKGVERSION=@PKGVERSION@
-VERSION=@VERSION@
+PKGVERSION="@PKGVERSION@"
+VERSION="@VERSION@"
# Need to check for -o option, but set default basename to "core".
prefix=core