aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-25 11:34:27 +0100
committerLoïc Minier <lool@dooz.org>2010-01-25 11:34:27 +0100
commit2a1f035b0b61f4d7fb268848d2819808a024f89c (patch)
tree2fefd05e5e5365f890fa06cd0da0f45489509b6b
parent0602e4e5df65c1d7768cbe8a52409625f0240782 (diff)
downloadpbuilder-2a1f035b0b61f4d7fb268848d2819808a024f89c.tar
pbuilder-2a1f035b0b61f4d7fb268848d2819808a024f89c.tar.gz
Better handling of some error conditions
-rwxr-xr-xpbuilder-apt-config5
1 files changed, 4 insertions, 1 deletions
diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index ab9e0ef..9bd4949 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -133,7 +133,7 @@ while :; do
break
;;
*)
- die "Internal error: unhandled arg $1=$2"
+ die "Unhandled arg=$1"
;;
esac
done
@@ -206,6 +206,9 @@ if [ -n "$profile" ]; then
echo "deb $base_mirror $base_dist-$pocket $components"
done
;;
+ *)
+ die "Unknown profile for base_vendor=$base_vendor"
+ ;;
esac
exit 0
fi