[Emdebian-logs] [SCM] Root filesystem generation tool (multistrap wrapper) branch, master, updated. 577d707826985e91381711fd21077599465ae0d0

josch josch at pyneo.org
Sat Jul 23 05:22:03 UTC 2011


The following commit has been merged in the master branch:
commit 577d707826985e91381711fd21077599465ae0d0
Author: Geert Stappers <stappers at stappers.nl>
Date:   Sun Jul 17 13:48:08 2011 +0200

    polystrap-nb: error messages reviewed
    
    * s/target/board/
    * (standard) output to error output
    * non zero exit

diff --git a/polystrap-nb b/polystrap-nb
index 4b851c3..6791f9c 100755
--- a/polystrap-nb
+++ b/polystrap-nb
@@ -9,15 +9,15 @@ dir_depth() {
 }
 
 if [ "$#" -ne 1 ]; then
-	echo "you have to specify the new target name"
-	exit
+	echo 1>&2 "you have to specify the new board name"
+	exit 1
 fi
 
 BOARD="$1"
 
 if [ -e "$BOARD" ]; then
-	echo "target already exists"
-	exit
+	echo 1>&2 "board already exists"
+	exit 1
 fi
 
 mkdir -p $BOARD/

-- 
Root filesystem generation tool (multistrap wrapper)



More information about the Emdebian-logs mailing list