diff --git a/checkpkg.in b/checkpkg.in index 8e0f574c1588ad141b9f23dbf05a98e7e222ff2e..54149dbc88053d00ac127719d29e202cd6a4a630 100644 --- a/checkpkg.in +++ b/checkpkg.in @@ -18,7 +18,7 @@ if [[ ! -f PKGBUILD ]]; then die 'This must be run in the directory of a built package.' fi -. PKGBUILD +. ./PKGBUILD if [[ $arch == 'any' ]]; then CARCH='any' fi diff --git a/commitpkg.in b/commitpkg.in index ad1005b80b10a1f783fd3c9448bc0141b10d02ed..fe9348ba3d82b91fdd8d29c87d9df44531dd2637 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