[Buildroot] [PATCH 4/4] package/tcl: fix for POSIX compliance
Yann E. MORIN
yann.morin.1998 at anciens.enib.fr
Mon Sep 20 21:26:09 UTC 2010
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
---
package/tcl/tcl.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk
index edcc441..cf46811 100644
--- a/package/tcl/tcl.mk
+++ b/package/tcl/tcl.mk
@@ -15,10 +15,10 @@ TCL_CONF_OPT = \
define TCL_POST_INSTALL_CLEANUP
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtcl8.4.so
- -if [ "$(BR2_PACKAGE_TCL_DEL_ENCODINGS)" == "y" ]; then \
+ -if [ "$(BR2_PACKAGE_TCL_DEL_ENCODINGS)" = "y" ]; then \
rm -Rf $(TARGET_DIR)/usr/lib/tcl8.4/encoding/*; \
fi
- -if [ "$(BR2_PACKAGE_TCL_SHLIB_ONLY)" == "y" ]; then \
+ -if [ "$(BR2_PACKAGE_TCL_SHLIB_ONLY)" = "y" ]; then \
rm -f $(TARGET_DIR)/usr/bin/tclsh8.4; \
fi
endef
--
1.7.1
More information about the buildroot
mailing list