Changeset 13669 in hybrid for branches/releng-11/nanobsd/tools


Ignore:
Timestamp:
Dec 19, 2016, 11:05:25 AM (8 years ago)
Author:
rick
Message:

Since we do not use local ports anymore, more sure directory exists before building.

File:
1 edited

Legend:

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

    r13668 r13669  
    3232        # Setup poudriere ports environment
    3333        poudriere ports -c -F -f none -p default -M /usr/local/poudriere/ports/default
     34
     35        # Distfile cache should be created if it does not exists
     36        . /usr/local/etc/poudriere.conf
     37        if [ ! -d "$DISTFILES_CACHE" ]; then
     38          mkdir -p $DISTFILES_CACHE
     39        fi
    3440}
    3541
Note: See TracChangeset for help on using the changeset viewer.