aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-09-19 01:50:12 +0000
committerNIIBE Yutaka <[email protected]>2018-09-19 01:50:12 +0000
commit5564efac95e9546af948fc13c90584264b322950 (patch)
tree16e85263b84caefa6caff1586d005cc95f6e0e48
parentsyscfg: Support ARC CPUs and simplify aliasing table. (diff)
downloadlibgpg-error-5564efac95e9546af948fc13c90584264b322950.tar.gz
libgpg-error-5564efac95e9546af948fc13c90584264b322950.zip
Accept pkgconf difference for spaces.
* src/gpg-error-config-test.sh (OUTPUT_OLD): Use shell and echo to remove spaces. -- There is an alternative implementation of pkg-conf, named pkgconf. It emits an extra space at the end. Tested on FreeBSD 11.1. Signed-off-by: NIIBE Yutaka <[email protected]>
-rwxr-xr-xsrc/gpg-error-config-test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpg-error-config-test.sh b/src/gpg-error-config-test.sh
index 7f97ead..7ed70df 100755
--- a/src/gpg-error-config-test.sh
+++ b/src/gpg-error-config-test.sh
@@ -29,15 +29,15 @@ failure () {
rm -f gpg-error-config-test.log
-OUTPUT_OLD=$($PKG_CONFIG_CMD --libs)
+OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --libs))
OUTPUT_NEW=$(./gpg-error-config-new --libs)
[ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --libs
-OUTPUT_OLD=$($PKG_CONFIG_CMD --cflags)
+OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --cflags))
OUTPUT_NEW=$(./gpg-error-config-new --cflags)
[ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --cflags
-OUTPUT_OLD=$($PKG_CONFIG_CMD --cflags --libs)
+OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --cflags --libs))
OUTPUT_NEW=$(./gpg-error-config-new --cflags --libs)
[ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --cflags --libs