[Lunar-commits] r15190 - lunar/branches/stable/bin

Auke Kok sofar at lunar-linux.org
Tue May 31 20:16:38 UTC 2005


Author: sofar
Date: 2005-05-31 20:16:38 +0000 (Tue, 31 May 2005)
New Revision: 15190

Modified:
   lunar/branches/stable/bin/lvu
Log:
Bugfix merge: ZLOCAL_OVERRIDES defaults to "".


Modified: lunar/branches/stable/bin/lvu
===================================================================
--- lunar/branches/stable/bin/lvu	2005-05-31 20:16:03 UTC (rev 15189)
+++ lunar/branches/stable/bin/lvu	2005-05-31 20:16:38 UTC (rev 15190)
@@ -730,7 +730,7 @@
 submit_module() {
   # this code tries to send the module back to the mailinglist
   # as good as it gets
-  if [ "$ZLOCAL_OVERRIDES" == "off" ]; then
+  if [ "$ZLOCAL_OVERRIDES" != "on" ]; then
     message "You can't submit non-zlocal modules. Turn on ZLOCAL_OVERRIDES"
 	message "and do \`lvu edit \$MODULE; lin moonbase\`"
 	message "so that module changes can be tracked properly!"
@@ -840,7 +840,7 @@
 
 edit_module()
 {
-	if [ "ZLOCAL_OVERRIDES" == "off" ]; then
+	if [ "ZLOCAL_OVERRIDES" != "on" ]; then
 		message "Cannot edit modules when ZLOCAL_OVERRIDES == off"
 		message "Do this: \`lunar set ZLOCAL_OVERRIDES on\`"
 	else



More information about the Lunar-commits mailing list