X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=scripts%2Fupdate-lily.py;h=97e4b58d36cd4ae20f8a86b8d22b33303d1a8473;hb=56803f159f4a7bcf205835b781531c7db9c10958;hp=99e7c68cfd6608c997e454058e02b9b0cd32f9d5;hpb=4b318c7b80d4b4c4084c49f62fa5ab8035adb136;p=lilypond.git diff --git a/scripts/update-lily.py b/scripts/update-lily.py index 99e7c68cfd..97e4b58d36 100644 --- a/scripts/update-lily.py +++ b/scripts/update-lily.py @@ -62,7 +62,7 @@ cd %n-%v && ./configure --prefix=$HOME/usr && make all web ) >> %n-%v/log.txt 2>&1 && rm -f %n && -ln -s %n%-%v %n +ln -s %n-%v %n ''' @@ -447,8 +447,9 @@ if 1: progress (_ ("building %s...") % latest) os.chdir (build_root) - if build (latest) and previous and remove_previous_p: - system ('rm -rf %s' % os.path.join (build_root, previous)) + if build (latest): + if previous and remove_previous_p: + system ('rm -rf %s' % os.path.join (build_root, previous)) else: if notify: system ('(date; uname -a) | mail -s "%s failed" %s' % (program_name, notify))