remove nasty workaround, include echo in function again :)
authorStefan Reinauer <stepan@openbios.org>
Fri, 5 Nov 2004 14:06:24 +0000 (14:06 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 5 Nov 2004 14:06:24 +0000 (14:06 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/abuild/abuild.sh

index 037fa00e1cec886f732cfd7b3b36d1472c08c3d7..516add1f18432699d52f5393945e7c00d4683724 100644 (file)
@@ -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