[pacman-dev] [PATCH 1/5] Add warning in PKGBUILD manpage about use of $startdir/{src, pkg}

Sebastien Luttringer seblu at seblu.net
Tue Aug 9 06:56:39 EDT 2011


Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
 doc/PKGBUILD.5.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index af3a388..eeea4da 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -273,6 +273,8 @@ variables for use during the build and install process:
 *startdir*::
 	This contains the absolute path to the directory where the PKGBUILD is
 	located, which is usually the output of `$(pwd)` when makepkg is started.
+	`$startdir/src` is not guaranteed to be the same as `$srcdir`, and likewise
+	for `$pkgdir`.
 
 *srcdir*::
 	This contains the directory where makepkg extracts, or copies, all source
-- 
Sebastien "Seblu" Luttringer



More information about the pacman-dev mailing list