]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/autogen.sh
Bugfix: copy aclocal.m4, autogen.sh also if
[lilypond.git] / stepmake / autogen.sh
index ea9bb388ceae2fdc44d3d81689c4858317c228d4..05b2eae55cb2e6b92f0e1c0f44e4d174ba62da2d 100755 (executable)
@@ -4,12 +4,12 @@
 srcdir=`dirname $0`
 
 
-if [ stepmake/aclocal.m4 -nt aclocal.m4 ]; then
+if [ ! -f aclocal.m4 -o stepmake/aclocal.m4 -nt aclocal.m4 ]; then
     echo "stepmake/aclocal.m4 is newer. Copying file." 
     cp -f stepmake/aclocal.m4 aclocal.m4
 fi
 
-if [ stepmake/autogen.sh -nt autogen.sh ]; then
+if [ ! -f autogen.sh -o stepmake/autogen.sh -nt autogen.sh ]; then
     echo "stepmake/autogen.sh is newer. Copying file." 
     cp -f stepmake/autogen.sh autogen.sh
     exec ./autogen.sh