Hi list :) This is a two part question, but they are vaguely related, so bear with me...
Firstly, using pkg_create in a sh script in the following way works fine: pkg_create -v -s $SRCDIR -d $DESC -c $COMMENT -I $POST_INSTALL -p "$INSTALLDIR/$packagename" -f $PLIST -o "net/$packagename" $packagename where $SRCDIR is defined as SRCDIR=`pwd` and $INSTALLDIR is /usr/local However, if I remove the -s $SRCDIR parameter, it fails claiming tar "couldn't stat" my files. I was under the impression that if SRCDIR was not specified, it would use the current working directory instead (which is where my files to be packaged reside, and what I am defining anyway using pwd). Is this correct? Secondly, and along the same lines: When the above is run, in the +CONTENTS file inside the package there is an @SRCDIR line, containing the directory given in -s $SRCDIR. As far as my experimentation has gone, the presence of this line does not make any difference to whether the package installs successfully or not. I would like to hide any build environment details from the customers this package is being sent to, and thus was wondering if it is possible to remove the @SRCDIR line, or rather never have it be written to +CONTENTS in the first place! Thanks, James _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"