From 3967e93e8b93a76c136c17f33a27a2f2af05e8d4 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 13 Jul 2006 19:37:16 +0000 Subject: [PATCH] * changed mnemosyne's Config helper only_toolchain() to hack_stages() --- config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.in b/config.in index dd8d84c..e95d696 100644 --- a/config.in +++ b/config.in @@ -24,8 +24,10 @@ case "$sdever" in *) CFGTEMP_TREE=unknown ;; esac -only_toolchain() { +hack_stages() { + local stage="$1----------"; shift local pkgs="$*" + if [ $# -gt 1 ]; then pkgs="${pkgs// /\|}" elif [ $# -eq 1 ]; then @@ -33,7 +35,7 @@ only_toolchain() { fi if [ "$pkgs" ]; then - pkgfilter sed -e "s,^\(.\) \(.\)[^ ]* \([^ ]*\) \([^ ]*\) \($pkgs\) ,\1 \2--------- \3 \4 \5 ," + pkgfilter sed -e "s,^\(.\) [^ ]* \([^ ]*\) \([^ ]*\) \($pkgs\) ,\1 ${stage:0:10} \2 \3 \4 ," fi } -- 2.11.4.GIT