Commit 411c07f2 authored by Jason Chu's avatar Jason Chu
Browse files

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

parent 1e1e1e48
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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"