aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2015-06-22 22:36:47 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-06-22 22:36:47 +0000
commitf9c2f5f21f213f59a8504beaa3fe3a99f1701aca (patch)
treec6c98f3e6f606de8c0a9ca0c242fdf4361355a42 /pbuilder-createbuildenv
parent831310f93c3ee8665868997f7396f2421959e986 (diff)
downloadpbuilder-f9c2f5f21f213f59a8504beaa3fe3a99f1701aca.tar
pbuilder-f9c2f5f21f213f59a8504beaa3fe3a99f1701aca.tar.gz
Add support for hurd
Closes: #753801
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 8362b1c..8979bd5 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -68,12 +68,12 @@ fi
# FIXME if the end-user passes another --include= to debootstrap in
# DEBOOTSTRAPOPTS, it will override the --include=apt one and apt might not be
# installed
-if ! ( cd "$BUILDPLACE" && \
- "${DEBOOTSTRAP}" ${ARCHITECTURE:+--arch=$ARCHITECTURE} \
+if ! ( "${DEBOOTSTRAP}" \
+ ${ARCHITECTURE:+--arch=$ARCHITECTURE} \
--include=apt \
"${DEBOOTSTRAPOPTS[@]}" \
"$DISTRIBUTION" \
- . \
+ "$BUILDPLACE" \
"$MIRRORSITE" \
$DEBOOTSTRAPSCRIPT ) ; then
log "E: $DEBOOTSTRAP failed"