gnu-misc-discuss
[Top][All Lists]
Advanced

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

Re: GNU install issue


From: Alan Connor
Subject: Re: GNU install issue
Date: Mon, 22 Aug 2005 07:39:36 GMT
User-agent: slrn/0.9.8.1 (Debian)

On gnu.misc.discuss, in 
<mailman.3964.1124217310.20277.gnu-misc-discuss@gnu.org>, "Matthew Rich" wrote:
>
>
> I'm trying to set up a nightbuild for the company I
> work for.  If I run the script from my home dir it
> runs just fine but if I set up a cron job is get the
> following failure on calls to install:
>
> calling buildscript
>
> Invoke build script...
>
> Creating directory structure .......
>
> Creating mk.conf .......
>
> includes ===> neoscale/sys
>
> creating
> /home/mrich/nightlybuildtape/securetape/install/usr/include/neoscale/sys
>
> install: invalid user `-g'
>
> *** Error code 1
>
>  
>
> Stop.
>
> *** Error code 1
>
>  
>
> Stop.
>
> ********* Error: pmake includes failed!
>
> Current Working Directory is
> /home/mrich/nightlybuildtape/securetape/linux
>
> Tape Build completed at Fri Aug 12 10:13:16 PDT 2005
>
>
> Any Idea why this fails only when run as a cron job?
>
> Thanks
>
> Matt
>
> if this is not the correct list to post this question
> please redirect me to the correct list.
>
>
>

The script run by cron doesn't inherit the environment that your
script does in ~.

You need to set the crtical environment variables in the script
itself.

AC

reply via email to

[Prev in Thread] Current Thread [Next in Thread]