svn commit: trunk/uClibc++/bin

Jan-Benedict Glaw jbglaw at lug-owl.de
Sat Mar 4 08:17:32 UTC 2006


On Fri, 2006-03-03 16:44:27 -0800, gkajmowi at uclibc.org <gkajmowi at uclibc.org> wrote:
> Remove bashisms from script file whwn better alternatives exist.
> --- trunk/uClibc++/bin/Makefile	2006-03-03 21:21:33 UTC (rev 14442)
> +++ trunk/uClibc++/bin/Makefile	2006-03-04 00:44:25 UTC (rev 14443)
> @@ -25,7 +25,7 @@
>  	echo 'while [ -n "$$1" ]' >> $(WRAPPER)
>  	echo 'do' >> $(WRAPPER)
>  	echo '	WRAPPER_OPTIONS="$$WRAPPER_OPTIONS $$1"' >> $(WRAPPER)
> -	echo '	if [ "$$1" == "-c" ] || [ "$$1" == "-E" ] || [ "$$1" == "-S" ]' >> $(WRAPPER)
> +	echo '	if [ "$$1" == "-c" -o "$$1" == "-E" -o "$$1" == "-S" ]' >> $(WRAPPER)
>  	echo '	then' >> $(WRAPPER)
>  	echo '		WRAPPER_INCLIB="N"' >> $(WRAPPER)
>  	echo '	fi' >> $(WRAPPER)

Well, if you're touching it, then you'd continue and s/==/=/ .

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-cvs/attachments/20060304/2a8cdcfd/attachment-0002.pgp 


More information about the uClibc-cvs mailing list