Modded Prepare script.

It probably would have been quicked to learn Perl, but Notepad and a bit
of perseverence can achieve most things if you put your mind to it.

JMB

-----Original Message-----
From: Michelangelo Bottura [mailto:[EMAIL PROTECTED] 
Sent: 21 November 2003 14:50
To: Mark Harburn
Cc: [EMAIL PROTECTED]
Subject: Re: [Unattended] "Prepare" script in Cygwin environment


just been fiddling around with wget and cygwin's wget current version, 
1.9a to get it working and it works as expected if you put - O <destdir>

before URL to get (as in wget --help)

example follows
if [ ! -f packages/cygwin/setup.exe ]; then wget 
http://www.cygwin.com/setup.exe -O packages/cygwin/setup.exe; fi

if [ ! -f packages/cygwin/setup.exe ]; then wget -O 
packages/cygwin/setup.exe http://www.cygwin.com/setup.exe; fi

just in case someone needs a quick(?) fix
Michelangelo

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender
immediately by telephoning +44(1684) 278700. You should not copy it
or use it for any purpose nor disclose or distribute its contents to
any other person.

Attachment: prepare
Description: prepare

Reply via email to