[Lunar-commits] <lunar> Bugfix merge: ZLOCAL_OVERRIDES defaults to "".

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:04 CEST 2012


commit 90f79be64ce0e06d0ae3904244f8666fe7284778
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Tue May 31 20:16:38 2005 +0000

    Bugfix merge: ZLOCAL_OVERRIDES defaults to "".
---
 bin/lvu |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/lvu b/bin/lvu
index c80e125..82876ed 100755
--- a/bin/lvu
+++ b/bin/lvu
@@ -730,7 +730,7 @@ show_info() {
 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 @@ submit_module() {
 
 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