]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: run webpage make from web directory
authorAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 8 Jul 2010 06:49:20 +0000 (00:49 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 8 Jul 2010 06:49:20 +0000 (00:49 -0600)
mksnapshot-cron.sh

index 8fded467f58ed55e570f0b0678cec606bbc643ee..7968b4a519b19af9631703fc244f4c5a6aa65bf7 100755 (executable)
@@ -86,7 +86,7 @@ make_snapshot()
 
   # update web page
   if [ -x ${dst}/make.sh ]; then
-      ${dst}/make.sh
+    cd ${dst} ; ./make.sh
   fi
 
 } }