[PATCH] POSIXly correct test
Jan-Benedict Glaw
jbglaw at lug-owl.de
Thu Jan 5 17:33:42 UTC 2006
Hi!
The "test" program (aka '[') doesn't know about the operator "==", but
"=" is correct (cf.
http://www.opengroup.org/onlinepubs/000095399/utilities/test.html).
--- uclibc/Makefile.in~ 2006-01-05 18:12:41.979284000 +0100
+++ uclibc/Makefile.in 2006-01-05 18:13:34.049000000 +0100
@@ -107,7 +107,7 @@
# Installs header files.
install_headers:
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
- if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \
+ if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
else \
extra_exclude="" ; \
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060105/4e31f39d/attachment-0002.pgp
More information about the uClibc
mailing list