summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/treepkg7
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