Revert existing file check: now overwriting files by default

This commit is contained in:
yvecai 2012-10-21 23:43:00 +02:00
parent 82c7569da4
commit 00213e62ce

View file

@ -39,8 +39,8 @@ outfile=$outdir$fileroot.osm
# ---------------------------------------------
# process
# ---------------------------------------------
if [ ! -f $outfile.bz2 ]
then
#if [ ! -f $outfile.bz2 ]
#then
echo "----------------------------------------------"
echo "Processing"$fileroot
echo "----------------------------------------------"
@ -56,6 +56,6 @@ then
echo "Compressing to osm.bz2 …"
bzip2 -f $outfile
if [ $? -ne 0 ]; then echo $(date)' Error compressing OSM file' & exit 6;fi
else
echo "Skipping, already existing file"
fi
#else
#echo "Skipping, already existing file"
#fi