diff -r df3ab24a3069 -r 47d98dab743e Makefile --- a/Makefile Fri Nov 05 08:40:53 2010 +0100 +++ b/Makefile Fri Nov 05 10:04:48 2010 +0100 @@ -24,8 +24,8 @@ test $$rc = 0 @perl -c $< @test -f .hg_archival.txt \ - && version=`grep ^node: | cut -f2 -d ' ' .hg_archival.txt` ;\ - version=`hg id | cut -f1 -d' '` ;\ - perl -pe 's/__VERSION__/'$$version'/' $< >$<.tmp + && version=`grep ^node: .hg_archival.txt | cut -f2 -d ' '` \ + || version=`hg id | cut -f1 -d' '` \ + &&perl -pe 's/__VERSION__/'$$version'/' $< >$<.tmp @mv -f $<.tmp $@ @chmod +x-w $@