Mercurial > hg > lukkari
comparison update.sh @ 134:6f7a2f9dcad4
Fix some errors due to undefined variables in case the class data is not
found.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 27 Aug 2014 18:57:37 +0300 |
parents | 22872b46eee9 |
children | ca012374190c |
comparison
equal
deleted
inserted
replaced
133:ad10ab39e2d1 | 134:6f7a2f9dcad4 |
---|---|
85 | 85 |
86 # Fix permissions | 86 # Fix permissions |
87 chmod 751 . && chmod 644 *.php *.css && chmod 600 coursecache.txt classes.txt classes_next.txt | 87 chmod 751 . && chmod 644 *.php *.css && chmod 600 coursecache.txt classes.txt classes_next.txt |
88 | 88 |
89 CACHEDIR="cache/" | 89 CACHEDIR="cache/" |
90 fetch "http://www.oamk.fi/tyojarjestykset/otek/luokat/" "classes.txt" "OR_" | 90 fetch "http://www.oamk.fi/~heikkim/riihi1/luokat/" "classes.txt" "Ryh._" |
91 fetch "http://www.oamk.fi/~heikkim/Luhti5/Ryhm%84t/" "classes.txt" "Ryh._" | 91 parse "http://www.oamk.fi/~heikkim/riihi1/luokat/" "classes.txt" "Ryh._" |
92 parse "http://www.oamk.fi/tyojarjestykset/otek/luokat/" "classes.txt" "OR_" | 92 #parse "http://www.oamk.fi/tyojarjestykset/otek/luokat/" "classes.txt" "OR_" |
93 | 93 |
94 | 94 |
95 CACHEDIR="cache-next/" | 95 CACHEDIR="cache-next/" |
96 fetch "http://www.oamk.fi/~heikkim/Luhti5/Ryhm%84t/" "classes_next.txt" "Ryh._" | 96 #fetch "http://www.oamk.fi/~heikkim/riihi1/luokat/" "classes.txt" "Ryh._" |
97 parse "http://www.oamk.fi/~heikkim/Luhti5/Ryhm%84t/" "classes_next.txt" "Ryh._" | 97 #parse "http://www.oamk.fi/~heikkim/riihi1/luokat/" "classes.txt" "Ryh._" |
98 | 98 |
99 | 99 |
100 # http://www.oamk.fi/~heikkim/riihi[1-5]/ | 100 # http://www.oamk.fi/~heikkim/riihi[1-5]/ |
101 # http://www.oamk.fi/~heikkim/Luhti[1-5]/ | 101 # http://www.oamk.fi/~heikkim/Luhti[1-5]/ |