X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Flilypond-profile.sh;h=16afdaba978ef86cbe19c9dedee0b80e26bd18fc;hb=1afd7832bd5915917755709627884db4cf600bb2;hp=ccfe245675bab41b9c749e0bc265459cb9091525;hpb=030669fe5c65fa743a14fa7cc0f795ee5ac14435;p=lilypond.git diff --git a/buildscripts/lilypond-profile.sh b/buildscripts/lilypond-profile.sh index ccfe245675..16afdaba97 100644 --- a/buildscripts/lilypond-profile.sh +++ b/buildscripts/lilypond-profile.sh @@ -7,10 +7,19 @@ # If run by hand or from you .profile, run as follows # . /PATH/TO/lilypond-profile + + # workaround for ZSH posix $0-problem -[ -n "$ZSH_NAME" ] && setopt nofunctionargzero -if [ `basename "$0"` = "lilypond-profile" ] ; then +# for zsh: start removing here +if [ -n "$ZSH_NAME" ] ; then + echo "You are running this script under zsh. Edit this script by hand. " + echo + echo "(failed to source lilypond-profile)" + return 2 +fi + +if [ `basename "$0"` = "lilypond-profile" ] ; then cat >/dev/stderr <