chiark / gitweb /
Looking for puzzles*.tar.gz in the right directory is liable to make
authorSimon Tatham <anakin@pobox.com>
Sun, 4 Feb 2007 13:44:38 +0000 (13:44 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 4 Feb 2007 13:44:38 +0000 (13:44 +0000)
the .htaccess build work better :-)

[originally from svn r7214]

Buildscr

index 5c555aee19fef71ce65482c15985721432480ba2..033ece4f8a72ca482bbe2bf4335f8e70b0c8e419 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -59,7 +59,7 @@ in puzzles do ./makedist.sh $(revision)
 in puzzles do echo "AddType application/octet-stream .chm" > .htaccess
 in puzzles do echo "AddType application/octet-stream .hlp" >> .htaccess
 in puzzles do echo "AddType application/octet-stream .cnt" >> .htaccess
-in puzzles do set -- puzzles*.tar.gz; echo RedirectMatch temp '(.*/)'puzzles.tar.gz '$$1'"$$1" >> .htaccess
+in . do set -- puzzles*.tar.gz; echo RedirectMatch temp '(.*/)'puzzles.tar.gz '$$1'"$$1" >> puzzles/.htaccess
 
 # Phew, we're done. Deliver everything!
 deliver puzzles/icons/*-web.png $@