]> git.donarmstrong.com Git - lilypond.git/commitdiff
Make it easier to change the lilypond-git dir.
authorGraham Percival <graham@percival-music.ca>
Sat, 16 Jan 2010 16:38:47 +0000 (16:38 +0000)
committerGraham Percival <graham@percival-music.ca>
Sat, 16 Jan 2010 16:40:03 +0000 (16:40 +0000)
I don't recommend that people do this, but *sigh* there's a lot of
interest in it.  (OTOH, I guess that's to be expected from people
who want to work on open-source projects)

scripts/auxiliar/lily-git.tcl

index 0124ecc464fdd5d4c860e374dbaec4e57a12eaf4..5bc6a3c85b48b32523136e77e969e095c526b450 100755 (executable)
@@ -9,6 +9,10 @@ set version 0.64
 # set to 1 to set up for translation, to 0 for other
 set translator 0
 
+# location of lilypond git
+set lily_dir $env(HOME)/lilypond-git
+
+
 if {$translator == 1} {
         set windowTitle \
           "LilyPond Translator's Git Interface version $version"
@@ -66,7 +70,6 @@ set commit_header {}
 
 # Helper functions
 
-set lily_dir $env(HOME)/lilypond-git
 if {[file exists $lily_dir]} {
        cd $lily_dir
 }