delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/07/22:36:52

From: morph AT Softhome DOT net (Morph)
Subject: Fw: earnie's install script
7 Mar 1998 22:36:52 -0800 :
Message-ID: <006b01bd488f$01227300$0d03a798.cygnus.gnu-win32@jewell>
Mime-Version: 1.0
To: "Gnu-win32" <gnu-win32 AT cygnus DOT com>

This is a multi-part message in MIME format.

------=_NextPart_000_0068_01BD488E.FE50B560
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit



Hi

I can't remember where I got the attached install script (probably from this
list), but I found I had problems getting it to run under bash in b19.
After a bit of fiddling about, I managed to get it working, so I've attached
it in case anyone finds it useful.

I don't (didn't) know much about the shell commands while and test, but is
it a bug if bash can't parse -

while test $# -gt 0 ;

I also found I had to remove the backslashes (\) at the end of  various
lines, as bash didn't like those either.  Anyone know why they would have
been there in the first place?

Morph


------=_NextPart_000_0068_01BD488E.FE50B560
Content-Type: application/octet-stream;
	name="install"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="install"

IyEvYmluL2Jhc2gKIyBmaWxlOiBpbnN0YWxsCiMgYXV0aG9yOiBlYXJuaWUgZW1haWw6IEBob3Rt
YWlsLmNvbQojIGNoYW5nZWQgYnk6IE1vcnBoIGVtYWlsOiBAc29mdGhvbWUubmV0CiMgSW5zdGFs
bCBQcmVwcm9jZXNzb3IgZm9yIHRoZSBnbnUtd2luMzIgIm1ha2UgaW5zdGFsbCIgY29tbWFuZC4K
IyAKIyBUbyB1c2U6CiMgbXYgL2Jpbi9pbnN0YWxsLmV4ZSAvYmluL2dpbnN0YWxsCiMgY29weSB0
aGlzIGZpbGUgdG8gL2Jpbi9pbnN0YWxsCiMKIyBOb3RlOgojIE5vIHdhcnJhbnR5IGltcGxpY2l0
IG9yIGV4cGxpY2l0IGlzIGdpdmVuLgojIFlvdSBtYXkgY29weSwgZGlzdHJpYnV0ZSBhbmQgdXNl
IGFzIHlvdSBzZWUgZml0LgojIFVTRSBBVCBZT1UgT1dOIFJJU0suCiMKIyBjaGFuZ2VzIG1hZGUg
YnkgTW9ycGggc28gdGhhdCBpbnN0YWxsIHdvcmtzIHdpdGggY3lnd2luMzIgYjE5IG9uCiMgd2lu
ZG93czk1Cgp0c3RyPSIiCiMgZm9sbG93aW5nIGxpbmUgYWRkZWQgYnkgTW9ycGgKbm9hcmdzPSQj
CgojIGZvbGxvd2luZyBsaW5lICQjIHJlcGxhY2VkIHdpdGggJG5vYXJncyBieSBNb3JwaAp3aGls
ZSB0ZXN0ICRub2FyZ3MgLWd0IDAgOyAgCmRvIAppZiB0ZXN0IC1lICQxLmV4ZTsgCnRoZW4gCnRz
dHI9IiR0c3RyJDEuZXhlICQyLmV4ZSI7IApzaGlmdDsKIyBmb2xsb3dpbmcgbGluZSBhZGRlZCBi
eSBNb3JwaApub2FyZ3M9JCM7IAplbHNlIAp0c3RyPSIkdHN0ciQxICI7IApmaTsgCnNoaWZ0Owoj
IGZvbGxvd2luZyBsaW5lIGFkZGVkIGJ5IE1vcnBoCm5vYXJncz0kIzsgCmRvbmUgCmVjaG8gIi9i
aW4vZ2luc3RhbGwgJHRzdHIiIApldmFsICIvYmluL2dpbnN0YWxsICR0c3RyIjsgIApleGl0Cg==

------=_NextPart_000_0068_01BD488E.FE50B560--

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019