diff options
author | NIIBE Yutaka <[email protected]> | 2018-09-19 01:50:12 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-09-19 01:50:12 +0000 |
commit | 5564efac95e9546af948fc13c90584264b322950 (patch) | |
tree | 16e85263b84caefa6caff1586d005cc95f6e0e48 | |
parent | syscfg: Support ARC CPUs and simplify aliasing table. (diff) | |
download | libgpg-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-x | src/gpg-error-config-test.sh | 6 |
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 |