summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2010-09-20 21:26:09 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-09-30 20:09:01 (GMT)
commit57bc22c6b7ebef4b8b203dce6af4966ed719acef (patch)
treec2cb582c54f61865fbc42db2eaa95e3aad5d1f0b
parent855fdcaed1e14fd736a8f16bb1a1a4a62e43fc20 (diff)
downloadbuildroot-57bc22c6b7ebef4b8b203dce6af4966ed719acef.tar.gz
buildroot-57bc22c6b7ebef4b8b203dce6af4966ed719acef.tar.bz2
package/tcl: fix for POSIX compliance
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@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/tcl/tcl.mk4
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