]> git.donarmstrong.com Git - lilypond.git/commitdiff
* buildscripts/lilypond-profile.sh: Add documentation to error
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 25 Jul 2003 15:35:18 +0000 (15:35 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 25 Jul 2003 15:35:18 +0000 (15:35 +0000)
message.

ChangeLog
buildscripts/lilypond-profile.sh

index 2861775631802192fbe095b053f8c8b8c7af11c1..79559bc3591e2ff62d386cd4a89208a72ac3988f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
 
 2003-07-25  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * buildscripts/lilypond-profile.sh: Add documentation to error
+       message.
+
        * make/srcdir.make.in (web-install): Use SRCMAKE, set outdir.
 
 2003-07-25  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
index bc05e399795e5a1984b5604eb5ddec6a3b0c955c..7b3c4b9f8dd447686c6a2bb19ab4adaedda3329c 100644 (file)
@@ -5,15 +5,32 @@
 # Red Hat-like systems should install this in /etc/profile.d/
 
 # If run by hand or from you .profile, run as follows
-#   . lilypond-profile
+#   . /PATH/TO/lilypond-profile
+
 if [ `basename "$0"` = "lilypond-profile" ] ; then
-    echo "This script must be sourced, i.e."
-    echo ""
-    echo "  . lilypond-profile"
-    echo ""
-    
+    cat >/dev/stderr <<EOF
+Error: This script must be sourced, i.e, you must do:
+
+    . /PATH/TO/lilypond-profile
+
+Note the space after the period.  If you install this script, you must
+logout and re-login before you can use LilyPond.  On a Red Hat-like
+system, install this script as:
+
+    /etc/profile.d/lilypond-profile
+
+Alternatively, put it in:
+
+    ~/bin/lilypond-profile
+
+and in your ~/.profile, say:
+
+    . ~/bin/lilypond-profile
+
+EOF
     exit 2 
-fi 
+fi
+
 if [ -z "$LILYPONDPREFIX" ]; then
     datadir=`echo "@local_lilypond_datadir@" | sed 's!//!/!g'`
 else