BASEDIR change from request script goes unnoticed..

From: Dave Leach (david@healthinsite.gov.au)
Date: Thu May 23 2002 - 21:16:24 EDT


Hi there,

I'm trying to modify the BASEDIR environment within a request script (it could
equally go in the checkinstall script) under Solaris 8. From what I
understand BASEDIR can only be modified from within request or checkinstall
and only from versions 2.5 and greater.

I have tried just setting it and also exporting it, and I still end up with
the BASEDIR as defined in the pkginfo file. I've also tried using
CLIENT_BASEDIR as well, and don't seem to be having much luck. Do I need to
use a parametic base directory? I didn't think I'd need to...

The request/checkinstall script simply contains:

#!/bin/sh
BASEDIR=/opt/HIroot/opt
echo "INFO: Using ${BASEDIR} as base directory for install..."

Output from pkgadd...

# pkgadd -d /tmp HIstuff
Processing package instance <HIstuff> from </tmp>

HI 1.4
(sparc) 1.4
HAC
## Executing checkinstall script.
INFO: Using /opt/HIroot/opt/ as base directory for install...
Using </opt> as the package base directory.
## Processing package information.

any ideas? I'm banging my head against a brick wall :-)

dave
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:22 EDT