Copy the install file into the build directory because we need that too

This commit is contained in:
Jason Chu 2007-11-04 15:02:03 -08:00
parent 1e1e1e481e
commit 411c07f2fb
1 changed files with 3 additions and 0 deletions

View File

@ -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"