[Lunar-commits] r27016 - lunar/trunk/var/lib/lunar/functions
Stefan Wold
ratler at lunar-linux.org
Mon Mar 17 11:58:55 CET 2008
Author: ratler
Date: 2008-03-17 11:58:55 +0100 (Mon, 17 Mar 2008)
New Revision: 27016
Modified:
lunar/trunk/var/lib/lunar/functions/config.lunar
Log:
Check for word boundary or similar named variables would get nuked
Modified: lunar/trunk/var/lib/lunar/functions/config.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/config.lunar 2008-03-17 07:14:16 UTC (rev 27015)
+++ lunar/trunk/var/lib/lunar/functions/config.lunar 2008-03-17 10:58:55 UTC (rev 27016)
@@ -40,7 +40,7 @@
lock_file $FILE &&
if [ -n "$LINE" ] ; then
- sedit "/$VAR=/d" $FILE
+ sedit "/\b$VAR=/d" $FILE
fi
echo "$NEW" >> $FILE
unlock_file $FILE
More information about the Lunar-commits
mailing list