summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2021-03-26 16:06:50 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-03-26 16:06:50 +0900
commit33593864cd54143db594c4237bba41e14179061c (patch)
tree9811ea606da4e11162aca48ee76ed34aa481204a
parentc66594d314a5fbbbf3eaf9aa36321d0b5864ba8d (diff)
downloadlibgpg-error-33593864cd54143db594c4237bba41e14179061c.tar.gz
build: Fix generation of lock-obj-pub.native.h for cross build.
* src/gen-lock-obj.sh: Capture echo output with quotes. -- Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374 Signed-off-by: David Michael <fedora.dm0@gmail.com>
-rwxr-xr-xsrc/gen-lock-obj.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
index a710f0c..258eec6 100755
--- a/src/gen-lock-obj.sh
+++ b/src/gen-lock-obj.sh
@@ -38,7 +38,7 @@
# AWK=gawk ./gen-lock-obj.sh
#
-if test -n `echo -n`; then
+if test -n "`echo -n`"; then
ECHO_C='\c'
ECHO_N=''
else