Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
/ onthisday Public archive

Commit

Permalink
Fixup for data directory generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Nov 4, 2011
1 parent edf094c commit 99105f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/gather.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ BASE=`dirname $0`

for month in `seq 1 12`;
do
monthdir=${BASE}/data/${month};
monthidx=$((month - 1));
monthdir=${BASE}/data/${monthidx};
monthname=`date -d 2000-${month}-01 +%B`;

mkdir -p ${monthdir};
Expand Down

0 comments on commit 99105f6

Please sign in to comment.