From 2401468f5104fa6794589381cef9e970692d95e8 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 25 May 2014 13:53:19 +1000 Subject: makepkg: Force buildscripts to be in startdir We expect all source file to lie in $startdir. However, using "makepkg -p " can currently allows people to specify buildscripts in other directories. This results in confusion about where other sources should lie (in startdir or in the directory that the buildscript is in). Explicitly disable using -p for files in other directories to avoid this issue. Fixes FS#40293. Signed-off-by: Allan McRae --- doc/makepkg.8.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt index 9547bc8b..0277f54a 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.txt @@ -116,7 +116,8 @@ Options *-p* :: Read the package script `buildscript` instead of the `PKGBUILD` default; - see linkman:PKGBUILD[5]. + see linkman:PKGBUILD[5]. The `buildscript` must be located in the directory + makepkg is called from. *-r, \--rmdeps*:: Upon successful build, remove any dependencies installed by makepkg -- cgit v1.2.3-70-g09d2