diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2019-12-10 06:42:09 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw@src.gnome.org> | 2019-12-10 06:42:09 +0800 |
commit | bb3940d25568429b729ff6a0672bbf6c87e1a2f0 (patch) | |
tree | bc22b633b67c17b5111c531b2bf9bf996a94e482 | |
parent | deb015e0f1a9444703bbe828ca421a81b87ea746 (diff) | |
download | librsvg-wip/lantw/Makefile.am-Don't-use-non-portable-syntax.tar.gz |
Makefile.am: Don't use non-portable [[ syntaxwip/lantw/Makefile.am-Don't-use-non-portable-syntax
POSIX shell doesn't support [[ syntax, so using it can causes command
not found errors.
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 4c93fba3..faa60c0c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -198,7 +198,7 @@ librsvg_c_api.la: $(librsvg_c_api_la_OBJECTS) $(LIBRSVG_INTERNALS_SRC) $(LIBRSVG PKG_CONFIG='$(PKG_CONFIG)' \ CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) \ $(CARGO) --locked build $(CARGO_VERBOSE) $(CARGO_TARGET_ARGS) $(CARGO_RELEASE_ARGS) \ - && if [[ $$($(NM) -g $(RUST_LIB) | grep "T __*clzsi2" -c) -gt 1 ]] ; then \ + && if [ "$$($(NM) -g $(RUST_LIB) | grep "T __*clzsi2" -c)" -gt 1 ] ; then \ $(AR) d $(RUST_LIB) clzsi2.o; \ fi \ && cd $(LIBRSVG_BUILD_DIR) && $(LINK) $< && mv $(RUST_LIB) .libs/librsvg_c_api.a |