Skip to content

Commit

Permalink
In Opentopo maak_alle_worldfiles script create directory if it doesn'…
Browse files Browse the repository at this point in the history
…t exist
  • Loading branch information
fsteggink committed Mar 8, 2018
1 parent 5bacf85 commit e559da0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opentopo/src/maak_alle_worldfiles.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh
#
#

doc_dir=../doc
wfiles_dir=../worldfiles
Expand All @@ -12,6 +10,7 @@ for reso in $resos; do
out_dir="${wfiles_dir}/wfiles${reso}pixkm"

echo "START: reso=$reso: args = $csv_file $out_dir"
mkdir -p $out_dir
python csv2worldfiles.py $csv_file $out_dir
echo "END: reso=$reso: args = $csv_file $out_dir"
done

0 comments on commit e559da0

Please sign in to comment.