[arch-projects] [devtools] [PATCH] ensure that PKGBUILDs aren't sourced via PATH
11 Aug
2013
11 Aug
'13
10:09 p.m.
Fixes FS#36378. Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- checkpkg.in | 2 +- commitpkg.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/checkpkg.in b/checkpkg.in index 8e0f574..54149db 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 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 -- 1.8.3.4
4119
Age (days ago)
4119
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dave Reisner