diff options
author | dancer <dancer> | 2002-10-29 13:23:06 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-10-29 13:23:06 +0000 |
commit | c108f0386206414791b9e9239daa6754dfc9c148 (patch) | |
tree | b99e95642ee066830b73e9ac7c14d4f434c8651a /pbuilder-satisfydepends | |
parent | b7b986d72d87a26a2636678c67736513adccf39a (diff) | |
download | pbuilder-c108f0386206414791b9e9239daa6754dfc9c148.tar pbuilder-c108f0386206414791b9e9239daa6754dfc9c148.tar.gz |
+ * pbuilder-satisfydepends (--continue-fail): add a new feature to debug.
Diffstat (limited to 'pbuilder-satisfydepends')
-rw-r--r-- | pbuilder-satisfydepends | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends index 9ef71f8..a299f30 100644 --- a/pbuilder-satisfydepends +++ b/pbuilder-satisfydepends @@ -124,7 +124,9 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1} done; if [ "$SATISFIED" = "no" ]; then echo "E: Could not satisfy build-dependency." >&2 - exit 1 + if [ "$CONTINUE_FAIL" != "yes" ]; then + exit 1 + fi fi done; @@ -185,6 +187,7 @@ Copyright 2002 Junichi Uekawa <daner@debian.org> --binary-arch: include binary-arch only --echo: echo mode, do nothing. (--force-version required for most operation) --force-version: skip version check. +--continue-fail: continue even when failed. EOF } @@ -195,6 +198,7 @@ CHROOTEXEC="" BD_REGEXP="build-(depends|depends-indep)" BC_REGEXP="build-(conflicts|conflicts-indep)" FORCEVERSION="" +CONTINUE_FAIL="no" while [ -n "$1" ]; do @@ -221,6 +225,10 @@ while [ -n "$1" ]; do CHROOTEXEC="echo $CHROOTEXEC" shift ;; + --continue-fail) + CONTINUE_FAIL="yes" + shift + ;; --force-version) FORCEVERSION="yes" shift; |