[Lunar-commits] r15189 - lunar/trunk/bin

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


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

Modified:
   lunar/trunk/bin/lvu
Log:
ZLOCAL_OVERRIDES defaults to "" and not "off"


Modified: lunar/trunk/bin/lvu
===================================================================
--- lunar/trunk/bin/lvu	2005-05-31 20:08:43 UTC (rev 15188)
+++ lunar/trunk/bin/lvu	2005-05-31 20:16:03 UTC (rev 15189)
@@ -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