summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-04 16:29:36 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-04 16:29:36 -0400
commit93240c2568e50f43d2854efce97a31deb198b611 (patch)
treecbebec7600002eb57f9267ba2158a0440398165e
parent9e7a8503fad18e5354e16f0d5e17caa5690bd00a (diff)
chcleanup: prevent searching PATH for PKGBUILD
-rwxr-xr-xsrc/chroot-tools/chcleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup
index a43065b..21c0ec5 100755
--- a/src/chroot-tools/chcleanup
+++ b/src/chroot-tools/chcleanup
@@ -55,7 +55,7 @@ source /etc/libretools.d/chroot.conf
# If we're running makepkg
if [ -f PKGBUILD ]; then
export CARCH="$(. /etc/makepkg.conf; printf '%s' "$CARCH")"
- source PKGBUILD
+ source ./PKGBUILD
CHROOTEXTRAPKG+=("${depends[@]}"
"${makedepends[@]}"
"${checkdepends[@]}")