SOURCES: entrance.gen-conf - fix test -n

sparky sparky at pld-linux.org
Sun Oct 30 13:20:00 CET 2005


Author: sparky                       Date: Sun Oct 30 12:20:00 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix test -n

---- Files affected:
SOURCES:
   entrance.gen-conf (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/entrance.gen-conf
diff -u SOURCES/entrance.gen-conf:1.3 SOURCES/entrance.gen-conf:1.4
--- SOURCES/entrance.gen-conf:1.3	Sun Jan  9 01:26:03 2005
+++ SOURCES/entrance.gen-conf	Sun Oct 30 13:19:54 2005
@@ -41,7 +41,7 @@
 	
 	NAME="$(grep -E "^Name=" $DESKTOP | sed 's/^Name=//' | \
 		sed 's_/_\\/_g')"
-	[ -n $NAME ] || NAME="$EXEC"
+	[ -n "$NAME" ] || NAME="$EXEC"
 
 	ICON="$(basename $DESKTOP .desktop).png"
 	[ -r $ICONDIR/$ICON ] || ICON=default.png
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/entrance.gen-conf?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list