Redefine the meaning of the topdir variable.

From now on pkgdir will be used to designate the toplevel dir of the pkg
under $BUILDPKG_BASE

Irix specific changes:
Source formatting fixes
Finally get rid of the FIXME on imageconf
Automatically handle opt.src and opt.relnotes subsystems
This commit is contained in:
Tom G. Christensen
2004-07-15 12:42:31 +00:00
parent 0a32c3529f
commit ec325c188b
3 changed files with 92 additions and 27 deletions

View File

@@ -71,8 +71,8 @@ make_pkg()
local pname=$(get_pkgname $secname)
echo "Creating package and transferring it to datastream format"
$PKGMK -r `pwd` -d $buildpkgbase/$topdir -o -f $metadir/$prototype
$PKGTRANS -o -s $buildpkgbase/$topdir $distdir/$dfile $pname
$PKGMK -r `pwd` -d $buildpkgbase/$pkgdir -o -f $metadir/$prototype
$PKGTRANS -o -s $buildpkgbase/$pkgdir $distdir/$dfile $pname
echo "Done. Package was created as $dfile"
}