Project

General

Profile

« Previous | Next » 

Revision 7363

inputs/FIA/_src/download: Use new Makefile, which uses make logic to determine if a file needs to be downloaded

View differences:

inputs/FIA/_src/download
4 4
selfDir="$(dirname -- "$0")"
5 5

  
6 6
cd "$selfDir"
7

  
8
for state in AS GU PW AL AK AZ AR CA CO CT DE DC FL GA HI ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC ND OH OK OR PA PR RI SC SD TN TX UT VT VI VA WA WV WI WY; do
9
    file="$state.zip"
10
    test -e "$file" || wget "http://apps.fs.fed.us/fiadb-downloads/$file"
11
done
7
exec make

Also available in: Unified diff