Changeset 10614 in hybrid


Ignore:
Timestamp:
Apr 29, 2012, 6:45:22 PM (13 years ago)
Author:
rick
Message:

The list of packages is a full path list and not subs as suggested in r10612.

While here, make sure to die at some other posible fail places as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/tools/package-build.sh

    r10613 r10614  
    6565MAKE="make ${PKG_MAKE_ARGS}"
    6666BUILD_LIST=''
    67 set ${PACKAGE_LIST}
     67set `echo ${PACKAGE_LIST} | xargs -n1 -I% echo $PORTSDIR/%`
    6868while [ "$1" ]; do
    6969  PACKAGE=$1; shift
     
    7474  echo ""
    7575  p_info Packaging $PACKAGE
    76   cd $PORTSDIR/$PACKAGE
     76  cd $PACKAGE || exit 1
    7777
    7878  # Check for build dependencies
     
    121121  ${MAKE} package-links
    122122  PKGNAME=`make extract-message | awk '{print $NF}'`
    123   pkg_create -b $PKGNAME ${NANO_PACKAGE_DIR}/${PKGNAME}.tbz
     123  pkg_create -b $PKGNAME ${NANO_PACKAGE_DIR}/${PKGNAME}.tbz || exit 1
    124124
    125125  p_info Checking dependencies
Note: See TracChangeset for help on using the changeset viewer.