[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Small bug in jigdo-win-0.7.2, patched



--- Richard Atterer <richard@2007.atterer.net> wrote:
<Snipped> 
> It seems I already fixed this for jigdo-lite 0.7.3 -
> the $askScan variable no longer exists in that
> version. If you want, try out the 0.7.3 version of 
> the jigdo-lite script with the remaining files from
> the jigdo-win-0.7.2 release.

That would be because I screwed up the diff -u by
reversing the order of the files on the command line
(new first instead of old first).  Corrected diff -u
pasted below.

The "askScan" variable is one that I added in this
patch.  It forces the scanFiles subroutine to be
called even when the askQuestions variable is false
(which it is after the first image has been
processed).

Sorry about that.

Peter

--- jigdo-lite.bak      2005-07-09 19:10:54.000000000
-0400
+++ jigdo-lite  2007-02-28 11:53:54.210960500 -0500
@@ -525,7 +525,7 @@
     input ""
   fi

-  if $askQuestions; then
+  if $askQuestions || $askScan; then
     # Ask questions and scan dirs, set up
$filesToScan
     scanFiles || return 1
     if $batch; then selectServers; fi
@@ -779,6 +779,11 @@
 #________________________________________

 askQuestions=true
+if $batch; then
+    askScan=true
+else
+    askScan=false
+fi
 for url in "$@"; do
     selectImage "$url"
 done


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/



Reply to: