Revert existing file check: now overwriting files by default
This commit is contained in:
parent
82c7569da4
commit
00213e62ce
1 changed files with 5 additions and 5 deletions
|
@ -39,8 +39,8 @@ outfile=$outdir$fileroot.osm
|
||||||
# ---------------------------------------------
|
# ---------------------------------------------
|
||||||
# process
|
# process
|
||||||
# ---------------------------------------------
|
# ---------------------------------------------
|
||||||
if [ ! -f $outfile.bz2 ]
|
#if [ ! -f $outfile.bz2 ]
|
||||||
then
|
#then
|
||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
echo "Processing"$fileroot
|
echo "Processing"$fileroot
|
||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
|
@ -56,6 +56,6 @@ then
|
||||||
echo "Compressing to osm.bz2 …"
|
echo "Compressing to osm.bz2 …"
|
||||||
bzip2 -f $outfile
|
bzip2 -f $outfile
|
||||||
if [ $? -ne 0 ]; then echo $(date)' Error compressing OSM file' & exit 6;fi
|
if [ $? -ne 0 ]; then echo $(date)' Error compressing OSM file' & exit 6;fi
|
||||||
else
|
#else
|
||||||
echo "Skipping, already existing file"
|
#echo "Skipping, already existing file"
|
||||||
fi
|
#fi
|
||||||
|
|
Loading…
Reference in a new issue