In aegis-4.20/script/aeintegratq.in:

$BinDir  = "@bindir@";
$ComDir  = "@sharedstatedir@";
$TmpDir   = "/var/tmp";
$SendMail = "/usr/lib/sendmail"

... 

  # define some locations for logging and such
if ( -d "$ComDir/integrations" ) {
    $LogFile  = "$ComDir/integrations/integrate.log";
}else{
    $LogFile  = "$ENV{'HOME'}/integrate.log";
}

All of the directory loctions should be prefixed with some environment
variable in order to fix this - I don'w know if you want to use
RPM_BUILD_DIR, WORKDIR, or something else altogether, but this would
allow for normal operation when not being run at build time, and fix out
of build-directory file installs during autobuilding.  There are also
several other calls to $ENV{'HOME'} further down in the script that
should get this massaging.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgphl7WEjcA0h.pgp
Description: PGP signature

Reply via email to