Permalink
Browse files

fix script path

  • Loading branch information...
1 parent 99308e8 commit 300e0d037c7b633d77ad230a1f548a4196de4c20 @miyagawa committed Mar 11, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 script/daily.sh
View
@@ -1,5 +1,6 @@
#!/bin/sh
+cd `dirname $0`
DATE=`date +%Y%m%d`
-mkdir static/versions 2>/dev/null
-tail -100000 access_log | perl script/drawchart.pl > static/versions/index.html
-cp static/versions/index.html static/versions/$DATE.html
+mkdir ../static/versions 2>/dev/null
+tail -100000 ../access_log | perl drawchart.pl > ../static/versions/index.html
+cp ../static/versions/index.html ../static/versions/$DATE.html

0 comments on commit 300e0d0

Please sign in to comment.