Minor pathing cleanups
Reported-by: Jaroslaw Swierczynski <swiergot@juvepoland.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
484d36e931
commit
3078cb535c
|
@ -13,7 +13,7 @@ RUN=""
|
||||||
MAKEPKG_ARGS="-s"
|
MAKEPKG_ARGS="-s"
|
||||||
REPACK=""
|
REPACK=""
|
||||||
WORKDIR=$PWD
|
WORKDIR=$PWD
|
||||||
clean_first=""
|
clean_first="0"
|
||||||
|
|
||||||
chrootdir="$CHROOT_SHELL"
|
chrootdir="$CHROOT_SHELL"
|
||||||
|
|
||||||
|
@ -146,6 +146,8 @@ if ! grep "SRCDEST=/srcdest" "$uniondir/etc/makepkg.conf" >/dev/null 2>&1; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R nobody "$uniondir/build"
|
chown -R nobody "$uniondir/build"
|
||||||
|
chown -R nobody "$uniondir/srcdest"
|
||||||
|
chown -R nobody "$uniondir/pkgdest"
|
||||||
|
|
||||||
# Copy PKGBUILD and sources
|
# Copy PKGBUILD and sources
|
||||||
source PKGBUILD
|
source PKGBUILD
|
||||||
|
@ -153,7 +155,7 @@ cp PKGBUILD "$uniondir/build/"
|
||||||
for f in ${source[@]}; do
|
for f in ${source[@]}; do
|
||||||
basef=$(basename $f)
|
basef=$(basename $f)
|
||||||
if [ -f "$basef" ]; then
|
if [ -f "$basef" ]; then
|
||||||
cp "$basef" "$uniondir/build/"
|
cp "$basef" "$uniondir/srcdest/"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ "$install" != "" -a -f "$install" ]; then
|
if [ "$install" != "" -a -f "$install" ]; then
|
||||||
|
|
Loading…
Reference in New Issue