From 2f285ae709988324fee6f919ff7736341745d223 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 5 Nov 2004 14:06:24 +0000 Subject: remove nasty workaround, include echo in function again :) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/abuild/abuild.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'util/abuild') diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh index 037fa00e1c..516add1f18 100644 --- a/util/abuild/abuild.sh +++ b/util/abuild/abuild.sh @@ -257,8 +257,9 @@ function build_target if [ $? -eq 0 ]; then compile_target $VENDOR $MAINBOARD fi -} + echo +} function myhelp { @@ -310,7 +311,7 @@ fi eval set "$args" while true ; do case "$1" in - -t|--target) shift; target=$1; shift;; + -t|--target) shift; target="$1"; shift;; -a|--all) shift; buildall=true;; -b|--broken) shift; buildbroken=true;; -v|--verbose) shift; verbose=true;; @@ -328,8 +329,8 @@ debug "LBROOT=$LBROOT" if [ "$target" != "" ]; then # build a single board - VENDOR=`echo $target|tr -d \'|cut -f1 -d/` - MAINBOARD=`echo $target|tr -d \'|cut -f2 -d/` + VENDOR=`echo $target|cut -f1 -d/` + MAINBOARD=`echo $target|cut -f2 -d/` build_target $VENDOR $MAINBOARD else # build all boards per default -- cgit v1.2.3