On 23:38 29 Apr 2002, christopher j bottaro <[EMAIL PROTECTED]> wrote:
| thanks to both of yall for the reply, but it didn't work.  i copied/pasted 
| into a file, changed the EXCLUDE_LIST to something meaningful on my system, 
| but it doesn't work, it just prints out all the dirs in the dir that i'm in.

Post the nonworking script and we'll fix it.
You've probably made some trivial error.

| i got another bash question though.  i wanna execute the following sequence of 
| commands (what is this called, so i can search for it on the internet?):
| ./configure --prefix=$1 && make && make install
| but i want to exit if any of them fail.

That's what && does! No changes needed.

| i figured the following would work 
| but it doesn't:
| if [ ! ./configure --prefix=$1 && make && make install ] ; then

"[" is actually a _command_, with specific purposes (testing strings, files,
etc). It is _not_ part of the syntax of "if".

        if ./configure --prefix=$1 && make && make install ; then
                echo OK
        else    echo BAD
        fi

Please trim the less relevant quoted content in your replies and reply
_below_, so that things read like a conversation, with context near each
reply point. Thanks,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

"Hey, what the hell do you mean by that?  You suck.  I have a god-given
right to express opinions, carry a gun and to not wear a helmet, goddamn
it. Everything you stand for is STUPID."
        - Tommy McGuire <[EMAIL PROTECTED]> in rec.motorcycles



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to