From 411c07f2fb4ee504815deeb566b480b48532ac82 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Sun, 4 Nov 2007 15:02:03 -0800 Subject: Copy the install file into the build directory because we need that too --- makechrootpkg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'makechrootpkg') diff --git a/makechrootpkg b/makechrootpkg index e50d43e..09a5e7e 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -97,6 +97,9 @@ for f in ${source[@]}; do cp "$f" "$uniondir/build/" fi done +if [ "$install" != "" -a -f "$install" ]; then + cp "$install" "$uniondir/build/" +fi if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then echo "allowing 'nobody' sudo rights in the chroot" -- cgit v1.2.3-24-g4f1b