[pacman-dev] makepkg -w argument removed?
Aaron Griffin
aaronmgriffin at gmail.com
Mon Jan 22 18:35:47 EST 2007
On 1/22/07, James Rosten <seinfeld90 at gmail.com> wrote:
> Signed-off-by: James Rosten <seinfeld90 at gmail.com>
>
> --- pacman-lib.orig/scripts/makepkg 2007-01-22 16:44:05.000000000 -0500
> +++ pacman-lib/scripts/makepkg 2007-01-22 17:38:34.000000000 -0500
> @@ -27,7 +27,7 @@
>
> myver='3.0.0'
> startdir=$(pwd)
> -PKGDEST=$startdir
> +PKGDEST=${PKGDEST:-$startdir}
>
> BUILDSCRIPT="PKGBUILD"
> PKGEXT="pkg.tar.gz"
> @@ -327,6 +327,8 @@ if [ -f ~/.makepkg.conf ]; then
> source ~/.makepkg.conf
> fi
>
> +SRCDEST=${SRCDEST:-"/var/cache/pacman/src"}
> +
> while [ "$#" -ne "0" ]; do
> case $1 in
> # pacman
I was thinking about this, and there's a little problem. PKGDEST and
SRCDEST can be set by makepkg.conf and ~/.makepkg.conf, overriding the
envvar, which, I'd assume, should take precedence.
The shortest solution is to rename either the makepkg.conf variable or
the makepkg one...
Basically, I foresee it working like so, in order of precedence:
1) environment settings
or
2) ~/.makepkg.conf settings
or
3) /etc/makepkg.conf settings
More information about the pacman-dev
mailing list