[Lunar-commits] r25215 - lunar/trunk/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Sat Jul 21 22:35:27 CEST 2007


Author: sofar
Date: 2007-07-21 22:35:26 +0200 (Sat, 21 Jul 2007)
New Revision: 25215

Modified:
   lunar/trunk/var/lib/lunar/functions/optimize.lunar
Log:
Bugfix: bad_flags can be passed something with spaces (see wine/BUILD)


Modified: lunar/trunk/var/lib/lunar/functions/optimize.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/optimize.lunar	2007-07-21 15:11:30 UTC (rev 25214)
+++ lunar/trunk/var/lib/lunar/functions/optimize.lunar	2007-07-21 20:35:26 UTC (rev 25215)
@@ -24,10 +24,10 @@
 		unset LDFLAGS
 	else
 		for BAD_FLAG in "$@" ; do
-			CFLAGS=$(echo $CFLAGS | sed s/$BAD_FLAG//)
-			CXXFLAGS=$(echo $CXXFLAGS | sed s/$BAD_FLAG//)
-			CPPFLAGS=$(echo $CPPFLAGS | sed s/$BAD_FLAG//)
-			LDFLAGS=$(echo $LDFLAGS | sed s/$BAD_FLAG//)
+			CFLAGS=$(echo $CFLAGS | sed "s/$BAD_FLAG//")
+			CXXFLAGS=$(echo $CXXFLAGS | sed "s/$BAD_FLAG//")
+			CPPFLAGS=$(echo $CPPFLAGS | sed "s/$BAD_FLAG//")
+			LDFLAGS=$(echo $LDFLAGS | sed "s/$BAD_FLAG//")
 		done
 	fi
 }



More information about the Lunar-commits mailing list