fix syntax error (aborted check)
[dja/scandal.git] / scan2pages.sh
index be89870..7ef2683 100755 (executable)
@@ -177,7 +177,6 @@ for scanpgnum in `$my_seq 1 $pages`; do
                #detect if the page is 2-up
 
                if [[ $logperphys == 2 ]] || ( [[ $logperphys != 1 ]] && $(dirname $0)/detect2pages.sh ${cleanphyspg} ${scanpgnum} ${physpgnum} ); then
                #detect if the page is 2-up
 
                if [[ $logperphys == 2 ]] || ( [[ $logperphys != 1 ]] && $(dirname $0)/detect2pages.sh ${cleanphyspg} ${scanpgnum} ${physpgnum} ); then
-                       if [ ! -e ${physpgbase}-1.pnm ] || [ ! -e ${physpgbase}-2.pnm ]; then
                        if [[ $verbose == 1 ]]; then
                                echo "Resplitting physical page ${physpgnum}."
                        fi
                        if [[ $verbose == 1 ]]; then
                                echo "Resplitting physical page ${physpgnum}."
                        fi

UCC git Repository :: git.ucc.asn.au