Commits

Stefan Saasen  committed 2e09f40

Gnuplot: Use the first argument to regenerate-graphs.sh as the path to the log files

  • Participants
  • Parent commits b1f7b85

Comments (0)

Files changed (1)

File regenerate-graphs.sh

 #!/bin/bash
 
 set -e
-set -x
 set -u
 
 rm -f *.png
 
 
 # Ensure that 'logparser' is in the PATH (e.g. run rebuild.sh or 'cabal copy')
-DATE=${1:-`date "+%Y-%m"`}
-LOG_FILE=${2:-"../access-logs/atlassian-stash-access-${DATE}*"}
+DATE=`date "+%Y-%m"`
+LOG_FILE=${1:-"../access-logs/atlassian-stash-access-${DATE}*"}
 
 export GNUPLOT_LIB="gnuplot:."