summaryrefslogtreecommitdiff
path: root/commitpkg.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-08-11 18:09:25 -0400
committerPierre Schmitz <pierre@archlinux.de>2013-08-18 18:17:31 +0200
commit914ebe3a74287a7972fd4ba33ce3daa77ff96fc8 (patch)
tree96ddad4f10ceda217532dc529f825a117a618e18 /commitpkg.in
parent7267664ed86d17c63b12f05d10e8ffb33aab4938 (diff)
downloaddevtools-914ebe3a74287a7972fd4ba33ce3daa77ff96fc8.tar.xz
ensure that PKGBUILDs aren't sourced via PATH
Fixes FS#36378. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'commitpkg.in')
-rw-r--r--commitpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg.in b/commitpkg.in
index ad1005b..fe9348b 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -36,7 +36,7 @@ if [[ ! -f PKGBUILD ]]; then
die 'No PKGBUILD file'
fi
-. PKGBUILD
+. ./PKGBUILD
pkgbase=${pkgbase:-$pkgname}
case "$cmd" in