Re: [ptxdist] [PATCH] The '-q' option breaks 'ptxdist -q allyesconfig collection'

2010-06-27 Thread Marc Kleine-Budde
Remy Bohmer wrote:
 The result is an almost empty collection config file with no options selected,
 like this:
 ===
 PTXCONF__collectionconfig_MAGIC__=y
 PTXCONF_COLLECTION_ALL=y
 ===

good catch. I moved the fix to scripts/lib/ptxd_lib_colgen.sh because
the ptxd_make_log is affected by the PTXDIST_QUIET.

cheers, Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
-- 
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] [PATCH] The '-q' option breaks 'ptxdist -q allyesconfig collection'

2010-06-25 Thread Remy Bohmer
The result is an almost empty collection config file with no options selected,
like this:
===
PTXCONF__collectionconfig_MAGIC__=y
PTXCONF_COLLECTION_ALL=y
===

Signed-off-by: Remy Bohmer li...@bohmer.net
---
 bin/ptxdist |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/bin/ptxdist b/bin/ptxdist
index 466c712..a1e4ff9 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -1399,6 +1399,10 @@ do_config()
collection)
local file_dotconfig=${3}
 
+   # ptxdist -q allyesconfig collection gives an empty collection
+   # ignore the '-q' option to get a valid collection.
+   unset PTXDIST_QUIET
+
if [ -n ${file_dotconfig} ]; then
file_dotconfig=$(ptxd_abspath ${file_dotconfig}) || 
exit 1
else
-- 
1.7.0.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de