Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=2271a965356806fad69444e44bd06a969ed5029c

commit 2271a965356806fad69444e44bd06a969ed5029c
Author: Michel Hermier <[email protected]>
Date:   Tue Dec 4 17:05:43 2012 +0100

scripts/makepkg

* Allow env modifiers arguments in makepkg_shell.

diff --git a/scripts/makepkg b/scripts/makepkg
index 183e28c..6c99403 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -2836,7 +2836,7 @@ makepkg_fakeroot() {
makepkg_shell_usage() {
$ECHO "makepkg"
$ECHO
-       $ECHO "Usage: $0 shell [OPTIONS] [--] [COMMAND [ARG]...]"
+       $ECHO "Usage: $0 shell [OPTIONS] [VARIABLE=VALUE]... [--] [COMMAND 
[ARG]...]"
$ECHO
$ECHO "Options for chroot command:"
$ECHO "  -h, --help             This help"
@@ -2865,6 +2865,7 @@ makepkg_shell() {
"-$(echo "${split}" | cut -c 3-)" \
"$@"
continue ;;
+               *=*)                    export "$1" ;;
*)                      break ;; # End of options
esac
if ! shift "$consumed"; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to