From: Thierry Parmentelat Date: Mon, 13 Feb 2012 11:08:12 +0000 (+0100) Subject: cosmetic X-Git-Tag: 5.0-rc27~140 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=283765425c87384613f7aa9617fb9c125dad9804;p=build.git cosmetic --- diff --git a/build.common b/build.common index 075064c6..b1530ac2 100644 --- a/build.common +++ b/build.common @@ -237,7 +237,7 @@ function pl_root_mkfedora () { # formerly related to mkfedora -k : packages to take from our own build # and thus need be excluded frem the stock repos SUBST_NODEYUMEXCLUDE=$(pl_nodeyumexclude $fcdistro $pldistro) - pkgs_yumexcludes=$(pl_parsePkgs yumexclude $fcdistro $pldistro $pkgsfile | sed -e s,@NODEYUMEXCLUDE@,"$SUBST_NODEYUMEXCLUDE",) + pkgs_yumexclude=$(pl_parsePkgs yumexclude $fcdistro $pldistro $pkgsfile | sed -e s,@NODEYUMEXCLUDE@,"$SUBST_NODEYUMEXCLUDE",) # get mirrors if not specified with -l if [ -z "$mirrors" ] ; then mirrorsfile=$(pl_locateDistroFile ../build/ $pldistro "$pldistro.mirrors") @@ -245,7 +245,7 @@ function pl_root_mkfedora () { fi yumexclude_line="" - [ -n "$pkgs_yumexcludes" ] && yumexclude_line="exclude=$pkgs_yumexcludes" + [ -n "$pkgs_yumexclude" ] && yumexclude_line="exclude=$pkgs_yumexclude" echo "$0: candidate mirrors" for mirror in $mirrors ; do