diff options
author | midipix <writeonce@midipix.org> | 2021-05-02 14:47:26 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-05-02 14:47:26 +0000 |
commit | b23a2f700c8b2c5cec7b7e1088101e1cb73f88dd (patch) | |
tree | 73eff504d4abdf877944e5d5c2f44e5508e020c0 /m4 | |
parent | 240d0f1a4bc854c637cad5d7559165210632b9c8 (diff) | |
download | slibtool-b23a2f700c8b2c5cec7b7e1088101e1cb73f88dd.tar.bz2 slibtool-b23a2f700c8b2c5cec7b7e1088101e1cb73f88dd.tar.xz |
slibtool.m4: slibtool_arg_enable(): properly escape brackets in if-then block.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/slibtool.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index f21593f..f1624a4 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -75,7 +75,7 @@ slibtool_arg_enable() IFS="${PATH_SEPARATOR}${IFS}" for slbt_pkg in ${enableval}; do - if [ "_${slbt_pkg}" = "_${slbt_package}" ]; then + if [[ "_${slbt_pkg}" = "_${slbt_package}" ]]; then slbt_eval_expr="${slbt_var}='yes'" eval $slbt_eval_expr fi |