FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 08-12-2011, 10:56 PM
Allan McRae
Default Add warning in PKGBUILD manpage about use of $startdir/{src, pkg}

On 09/08/11 20:56, Sebastien Luttringer wrote:

Signed-off-by: Sebastien Luttringer<seblu@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:
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`.

This contains the directory where makepkg extracts, or copies, all source

I'd prefer to add a warning that there is probably no reason to ever use
$startdir in a PKGBUILD rather that mentioning constructs like
$startdir/src which have been deprecated for years now.


Thread Tools

All times are GMT. The time now is 03:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org