aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams8
1 files changed, 8 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index c205be5..9c748b3 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -252,6 +252,14 @@ if [ -z "${CHROOTEXEC}" ]; then
CHROOTEXEC="chroot $BUILDPLACE "
fi
+# handle 'experimental' specially.
+if [ "$DISTRIBUTION" = "experimental" ]; then
+ DISTRIBUTION="sid"
+ EXPERIMENTAL="true"
+else
+ EXPERIMENTAL=
+fi
+
case "$PBCURRENTCOMMANDLINEOPERATION" in
login|execute|pdebuild)
# don't do anything if it is "login", or pdebuild