Changeset 14126 in hybrid for branches/releng-11
- Timestamp:
- Apr 11, 2018, 6:07:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/tools/package-build.sh
r14124 r14126 15 15 . $cfg_dir/nanobsd.wleiden 16 16 17 packages_update() { 18 # Update ports 19 portshaker -U 20 portshaker -M 21 } 22 17 23 18 24 packages_initenv() { … … 29 35 cp ${config_dir}/portshaker.d/* /usr/local/etc/portshaker.d 30 36 31 # Update ports 32 portshaker -U 33 portshaker -M 37 packages_update 34 38 35 39 # Setup poudriere ports environment … … 89 93 packages_refresh 90 94 packages_config $* 95 elif [ "x$1" = "xupdate" ]; then 96 packages_update 91 97 elif [ "x$1" = "xrebuild" ]; then 92 98 packages_refresh 93 packages_build $PACKAGE_LIST99 packages_build -c $PACKAGE_LIST 94 100 elif [ "x$1" = "xbuild" ]; then 95 101 packages_refresh … … 98 104 packages_distclean 99 105 else 100 echo "Usage $0 <initenv|config| rebuild|build|distclean>"106 echo "Usage $0 <initenv|config|update|rebuild|build|distclean>" 101 107 exit 128 102 108 fi
Note:
See TracChangeset
for help on using the changeset viewer.