]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gcore: quote PKGVERSION
authorSam James <sam@gentoo.org>
Wed, 19 Mar 2025 22:53:36 +0000 (22:53 +0000)
committerSam James <sam@gentoo.org>
Wed, 19 Mar 2025 22:53:36 +0000 (22:53 +0000)
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

gdb/gcore-1.in

index 129e3697fb726c5357124da30ebdb7b73fa18b16..c0979a51db32a6dcb4c62d1db2731b9aa25617a7 100644 (file)
@@ -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