From: Don Armstrong Date: Sat, 13 Sep 2014 00:43:35 +0000 (-0700) Subject: fix lastnum typo X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c5c68f153dbba3d7d9b85c129ab5fefa202b2335;p=bin.git fix lastnum typo --- diff --git a/scan_stuff b/scan_stuff index b556d96..152199c 100755 --- a/scan_stuff +++ b/scan_stuff @@ -93,7 +93,7 @@ $last_num++; exec('scanimage','-d',$options{device}, '--source','ADF Duplex','--mode','Gray','--format','tiff', - '--batch','out_'.sprintf('%03d',$lastnum).'_%03d.tif'); + '--batch','out_'.sprintf('%03d',$last_num).'_%03d.tif'); __END__