summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/schroot-create.sh')
-rwxr-xr-xbin/schroot-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 6e2fca46..7d5f3bc1 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -60,7 +60,7 @@ bootstrap() {
for d in proc dev dev/pts ; do
sudo mount --bind /$d $CHROOT_TARGET/$d
done
- sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "sudo $@"
+ sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@" sudo
# umount in reverse order
for d in dev/pts dev proc ; do
sudo umount -l $CHROOT_TARGET/$d