diff options
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index 808ef1b..17ce87d 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -69,13 +69,13 @@ fi # DEBOOTSTRAPOPTS, it will override the --include=apt one and apt might not be # installed if ! ( "${DEBOOTSTRAP}" \ - ${ARCHITECTURE:+--arch=$ARCHITECTURE} \ + "${ARCHITECTURE:+--arch=$ARCHITECTURE}" \ --include=apt \ "${DEBOOTSTRAPOPTS[@]}" \ "$DISTRIBUTION" \ "$BUILDPLACE" \ "$MIRRORSITE" \ - $DEBOOTSTRAPSCRIPT ) ; then + "$DEBOOTSTRAPSCRIPT" ) ; then log "E: $DEBOOTSTRAP failed" exit 1 fi @@ -97,7 +97,7 @@ mountproc $TRAP umountproc_cleanbuildplace_trap exit sighup $CHROOTEXEC /usr/bin/apt-get -q update -case "`readlink -e "$PBUILDERSATISFYDEPENDSCMD"`" in +case "$(readlink -e "$PBUILDERSATISFYDEPENDSCMD")" in *-aptitude) EXTRAPACKAGES="$EXTRAPACKAGES aptitude" ;; |