[csw-devel] SF.net SVN: gar:[21012] csw/mgar/gar/v2/gar.pkg.mk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon May 6 18:51:12 CEST 2013


Revision: 21012
          http://gar.svn.sourceforge.net/gar/?rev=21012&view=rev
Author:   wahwah
Date:     2013-05-06 16:51:10 +0000 (Mon, 06 May 2013)
Log Message:
-----------
mGAR v2: Fix environment variable propagation.

If you set PARALLELMFLAGS to e.g. "-j 10", "mgar platforms" would break. This
patch adds quotes around environment variable values, allowing to pass values
with spaces.

Signed-off-by: Maciej Blizinski <maciej at opencsw.org>

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.pkg.mk

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2013-05-06 16:30:13 UTC (rev 21011)
+++ csw/mgar/gar/v2/gar.pkg.mk	2013-05-06 16:51:10 UTC (rev 21012)
@@ -1061,7 +1061,7 @@
 		$(if $(PACKAGING_HOST_$P),\
 			$(if $(filter $(THISHOST),$(PACKAGING_HOST_$P)),\
 				$(MAKE) $(_PASS_GAR_ENV) GAR_PLATFORM=$P _package && ,\
-				$(SSH) -t $(PACKAGING_HOST_$P) "$(foreach V,$(_PROPAGATE_ENV),$(if $($V),$V=$($V))) $(MAKE) -I $(GARDIR) -C $(CURDIR) $(_PASS_GAR_ENV) GAR_PLATFORM=$P _package" && \
+				$(SSH) -t $(PACKAGING_HOST_$P) "$(foreach V,$(_PROPAGATE_ENV),$(if $($V),$V=\"$($V)\")) $(MAKE) -I $(GARDIR) -C $(CURDIR) $(_PASS_GAR_ENV) GAR_PLATFORM=$P _package" && \
 			),\
 			$(error *** No host has been defined for platform $P)\
 		)\

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list