# HG changeset patch # User Matti Hamalainen # Date 1350118868 -10800 # Node ID ceca065769184a5913cff423cf7c2fe09a9d27aa # Parent 9b5fa0f3812b08c1e5a31c7cda2ba874a67870a1 Change backup (old) cache directories. diff -r 9b5fa0f3812b -r ceca06576918 update.sh --- a/update.sh Sat Oct 13 11:58:26 2012 +0300 +++ b/update.sh Sat Oct 13 12:01:08 2012 +0300 @@ -4,6 +4,7 @@ function parse() { # Create cache directories, if they do not exist +OLDCACHEDIR="${CACHEDIR}old/" if test ! -d "${OLDCACHEDIR}"; then mkdir -p "${OLDCACHEDIR}" fi @@ -69,10 +70,8 @@ } CACHEDIR="cache/" -OLDCACHEDIR="cache-old/" parse "http://www.oamk.fi/tyojarjestykset/otek/luokat/" "luokat.txt" "OR_" #parse "http://www.oamk.fi/~heikkim/riihi2/Oppilaat/" "luokat.txt" "Ryh._" CACHEDIR="cache-next/" -OLDCACHEDIR="cache-next-old/" parse "http://www.oamk.fi/~heikkim/riihi2/Oppilaat/" "luokat_next.txt" "Ryh._"