]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix release notes dist
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 16 Aug 2009 12:20:00 +0000 (00:20 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 16 Aug 2009 12:20:00 +0000 (00:20 +1200)
Makefile.am

index f6ba0b5eea09c5121240b95f1015cd4a2c72d5b2..3d5f3de59b84c94285c84c15c8e273bc2f44c532 100644 (file)
@@ -23,8 +23,8 @@ dist-hook:
          cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \
        else \
          notes=`ls -1rt $(top_srcdir)/doc/release-notes/*.html | head -1`; \
-         @if [ -f $(notes) ]; then \
-           cp $(notes) $(distdir)/RELEASENOTES.html; \
+         if [ -f $$notes ]; then \
+           cp $$notes $(distdir)/RELEASENOTES.html; \
          else \
            touch $(distdir)/RELEASENOTES.html; \
          fi; \