#!/bin/ksh93 -x # # Script to publish an unbundled product to a local repository. # # Bug number in Bugzilla that handled the change to this unbundled package. BUGNO=12999 # Build number to publish the package at. BUILDNO=111 # Name of the product file in the .../distro-import/unbundleds directory. PRODUCTNAME=ClusterTools8 export ARCH=`uname -p` if [[ ${ARCH} == "sparc" ]]; then platform="s" else platform="x" fi export ROOT=/export/home/richb/pkg/bugs/${BUGNO}/gate/proto/root_${ARCH} export PYTHONPATH=${ROOT}/usr/lib/python2.6/vendor-packages export REPO=http://localhost:${BUGNO}/ export NONWOS_PKGS="/net/paradise.sfbay/export/integrate_dock/nv/nv_osolub/all /net/paradise.sfbay/export/integrate_dock/nv/nv_osolub/${ARCH} /net/paradise/export/integrate_dock/nv/nv_osol0906/${ARCH} /net/paradise/export/integrate_dock/nv/nv_osol0906/all" export WOS_PKGS="/net/netinstall.sfbay/export/nv/${platform}/${BUILDNO}/Solaris_11/Product/" (cd src/util/distro-import ; \ make -e BUILDID=${BUILDNO} ${PRODUCTNAME}.import ) > errs.cluster 2>&1 &