Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chu <jchu@xentac.net>2007-11-04 15:02:03 -0800
committerJason Chu <jchu@xentac.net>2007-11-04 15:02:03 -0800
commit411c07f2fb4ee504815deeb566b480b48532ac82 (patch)
tree76bb44147d171b14fae9c280f1954ee448ae10c7
parent1e1e1e481e335988d00c842169966f0fa8cb43b3 (diff)
Copy the install file into the build directory because we need that too
-rwxr-xr-xmakechrootpkg3
1 files changed, 3 insertions, 0 deletions
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"