lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zsh and lilypond-profile


From: Yuval Harel
Subject: zsh and lilypond-profile
Date: Fri, 04 Feb 2005 20:37:44 +0200
User-agent: Opera M2/7.54 (Win32, build 3865)

Hi,

I see there was already a considerable amount of discussion about that, but there's something peculiar about how lilypond-profile is patched for zsh. When running under zsh, the script says "Continuing anyway ...", but does not continue. I don't see any harm in continuing.
Here is a suggested patch:

Index: buildscripts/lilypond-profile.sh
===================================================================
RCS file: /cvsroot/lilypond/lilypond/buildscripts/lilypond-profile.sh,v
retrieving revision 1.46
diff -u -r1.46 lilypond-profile.sh
--- buildscripts/lilypond-profile.sh 31 Jul 2004 19:29:02 -0000 1.46
+++ buildscripts/lilypond-profile.sh    4 Feb 2005 16:33:00 -0000
@@ -18,8 +18,10 @@
     echo
     echo "   . lilypond-profile"
     echo ""
+    echo "(This message appears because you are using zsh."
+    echo " If you know this script is sourced, you may manually"
+    echo " edit it to remove this message)."
     echo "Continuing anyway ..."
-    return 2
 fi

 if [ -z "$ZSH_NAME" -a `basename "$0"` = "lilypond-profile" ] ; then


Thanks,
        Yuval






reply via email to

[Prev in Thread] Current Thread [Next in Thread]