From efe6325910bb0ca83e59f32b6cb937882434bf74 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 2 May 2013 22:46:07 -0400 Subject: fix libremakepkg --- src/chroot-tools/libremakepkg | 11 ++++++----- src/devtools/lib/makechrootpkg.sh.patch | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index 25f23c6..8e34f4a 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -50,6 +50,7 @@ trap_exit() { run() { local HASNET=true [[ $1 == -N ]] && { HASNET=false; shift; } + local copydir=$1; shift local cmd="$*" cat >"$copydir/chrootexec" <