[Lunar-commits] CVS: moonbase/shells/bash/skel .bash_profile, 1.1.1.1, 1.2

Auke Kok sofar at lunar-linux.org
Wed Nov 24 10:01:47 UTC 2004


Update of /var/cvs/lunar/moonbase/shells/bash/skel
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/shells/bash/skel

Modified Files:
	.bash_profile 
Log Message:
Typo... string tests need to be "quoted".


Index: .bash_profile
===================================================================
RCS file: /var/cvs/lunar/moonbase/shells/bash/skel/.bash_profile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- .bash_profile	21 Aug 2002 00:55:21 -0000	1.1.1.1
+++ .bash_profile	24 Nov 2004 10:01:45 -0000	1.2
@@ -13,7 +13,7 @@
 
 # if the user didn't set them we might as well give defined system defaults:
 LANG=${LANG:-en_US}
-[ -z $EDITOR ] && {
+[ -z "$EDITOR" ] && {
     # an editor has not been set, go find a decent one, the last one
     # found in the row is picked and set.
     [ -x /usr/bin/pico  ] && EDITOR="pico"



More information about the Lunar-commits mailing list