From: Sam James Date: Wed, 19 Mar 2025 22:53:36 +0000 (+0000) Subject: gcore: quote PKGVERSION X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d19d6bc17e0a160ce27fc572079f11a587c0e168;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/gdb/gcore-1.in b/gdb/gcore-1.in index 129e3697fb7..c0979a51db3 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