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

[ale] Re: Simple bash question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 28 Jan 2008, Paul Cartwright wrote:

> Date: Mon, 28 Jan 2008 17:57:21 -0500
> From: Paul Cartwright <ale at pcartwright.com>
> Reply-To: Atlanta Linux Enthusiasts <ale at ale.org>
> To: Atlanta Linux Enthusiasts <ale at ale.org>
> Subject: Re: [ale] Re: Simple bash question
> 
> On Mon January 28 2008, Doctor Who wrote:
>>>> Just curious how this might be accomplished with a bash script. ?If
>>>>
>>>>> there was an error kicked back at any step, it would be nice to say
>>>>> as such.
>>>>>
>>>>> Thanks for any help.
>>>>
>>>> Anyone??
>>>
>>> why do you have to exit each time??
>>>
>>> you can do this with a here document..
>>
>> Not sure i understand you. ?The 'exit's above are how it looks on the
>> console when I do this manually today.
>
> do you have to be a user when doing the autogen & make??
> why exit & SU 3 times...
I add make install as a sudo command.
You could also make it NOPASSWD: temporarily, for the scripting purpose.


- -
- --
/dev/null
"We are the Pentium of Borg. Division is futile. You will be
approximated."

pubkey 0x88B82870 Sam Rakowski <devnull at iamdevnull.info> fingerprint = F2AB 1805 A408 C3E8 17A0  1D91 EF0D DACE 88B8 2870

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHonhC7w3azoi4KHARAnu0AJ9Qz7vi66MHUwt/KdJjziK0RhmkWgCgmZzW
Tl1SiqHmJWPf3WQAFj/FvJY=
=Tetr
-----END PGP SIGNATURE-----