diff options
author | Jason Chu <jchu@xentac.net> | 2007-11-04 15:02:03 -0800 |
---|---|---|
committer | Jason Chu <jchu@xentac.net> | 2007-11-04 15:02:03 -0800 |
commit | 411c07f2fb4ee504815deeb566b480b48532ac82 (patch) | |
tree | 76bb44147d171b14fae9c280f1954ee448ae10c7 /makechrootpkg | |
parent | 1e1e1e481e335988d00c842169966f0fa8cb43b3 (diff) |
Copy the install file into the build directory because we need that too
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-x | makechrootpkg | 3 |
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" |