Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mkarchroot
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-01-06 10:28:10 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-01-06 10:28:10 +0100
commit14ba11dcdfc8f4e9c14b8d48a8e8009960079c4b (patch)
tree4b93e6069161efab447e648d6fbef771847884b6 /mkarchroot
parentbe5505a54a6a4dfdb0ae63d96df7c85c8af4421a (diff)
mkarchroot: pass inline shell script to chroot0.9.16
Diffstat (limited to 'mkarchroot')
-rwxr-xr-xmkarchroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot b/mkarchroot
index cc92387..5d30a6c 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -34,7 +34,7 @@ usage() {
while getopts 'r:ufnhC:M:c:' arg; do
case "${arg}" in
r) RUN="$OPTARG" ;;
- u) RUN='pacman -Syu --noconfirm; pacman -Qqu >/dev/null && pacman -Su --noconfirm' ;;
+ u) RUN='/bin/sh -c "pacman -Syu --noconfirm; pacman -Qqu >/dev/null && pacman -Su --noconfirm"' ;;
f) FORCE='y' ;;
C) pac_conf="$OPTARG" ;;
M) makepkg_conf="$OPTARG" ;;
@@ -157,7 +157,7 @@ if [ "$RUN" != "" ]; then
chroot_mount
copy_hostconf
- chroot "${working_dir}" ${RUN}
+ eval chroot "${working_dir}" ${RUN}
# }}}
else