Commits

Stefan Saasen committed 5c337a0

Gnuplot: Fix the regenerate script to continue working without any paths given as arguments

  • Participants
  • Parent commits ed6faf6

Comments (0)

Files changed (1)

File regenerate-graphs.sh

 
 # Ensure that 'logparser' is in the PATH (e.g. run rebuild.sh or 'cabal copy')
 DATE=`date "+%Y-%m"`
-if [ "$#" -eq "1" ]; then
+if [ "$#" -le "1" ]; then
     LOG_FILE=${1:-"../access-logs/atlassian-stash-access-${DATE}*"}
 else
     LOG_FILE=$@