diff --git a/comchap b/comchap index 513741c..1d203b1 100755 --- a/comchap +++ b/comchap @@ -224,31 +224,31 @@ else echo No commercials found: "$infile" 1>&3 2>&4 >&2 fi -if $deleteedl ; then +if [ "$deleteedl" == true ] ; then if [ -f "$edlfile" ] ; then rm "$edlfile"; fi fi -if $deletemeta ; then +if [ "$deletemeta" == true ] ; then if [ -f "$metafile" ]; then rm "$metafile"; fi fi -if $deletelog ; then +if [ "$deletelog" == true ] ; then if [ -f "$logfile" ]; then rm "$logfile"; fi fi -if $deletelogo ; then +if [ "$deletelogo" == true ] ; then if [ -f "$logofile" ]; then rm "$logofile"; fi fi -if $deletetxt ; then +if [ "$deletetxt" == true ] ; then if [ -f "$txtfile" ]; then rm "$txtfile"; fi