diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-12 11:42:17 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-12 11:42:17 -0400 |
commit | 2007524e7888fdbcadb5bdff41f20c7ce61fcb91 (patch) | |
tree | c8f6b69f1d296f9a69a943f9d5e01468b6cd4339 /src | |
parent | 610699384997e346f7826fe912dcd511ecc4cd8c (diff) | |
parent | 4d156213b19def55ab8b8ddcb15c5b57040bbe1f (diff) |
Merge branch 'fauno~1' (early part)
Diffstat (limited to 'src')
-rwxr-xr-x | src/treepkg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/treepkg b/src/treepkg index 8219ce6..0f077bb 100755 --- a/src/treepkg +++ b/src/treepkg @@ -114,6 +114,7 @@ BUILD=${B:-true} CLEANUP=${C:-true} # Skip BUILDORDER creation and build anything on BUILDDIR BUILDNOW=${N:-false} +IGNORE=${I:-} if [[ ! -z $1 ]] && [[ $DEPTH -eq 0 ]]; then BUILDNOW=true @@ -125,6 +126,12 @@ if ! ${BUILDNOW}; then # If this package is already built quit silently for _pkg in "${pkgname[@]}"; do + + if in_array "${_pkg}" "${IGNORE[@]}"; then + add_order "ignore" + exit 0 + fi + if is_built "${_pkg}" "$(get_full_version ${_pkg})"; then add_order "ignore" exit 0 |