some more adaptions ...
[hdw-linux/hdw-linux.git] / scripts / Config
index 2804a19..ba394dd 100755 (executable)
@@ -49,7 +49,7 @@ fi
 
 # lets see what root is:
 root=""
-if [ "$hdw_crossbuild" != "0" -a "$hdw_status" -lt "2" ] ; then
+if [ "$hdw_crossbuild" != "0" -o "$hdw_status" -lt "2" ] ; then
        # check for properly configured build directory
        if [ -z "$hdw_build_dir" ] ; then
                echo "please set hdw_build_dir in ./Config!"
@@ -136,6 +136,7 @@ hdw_arch_host=${hdw_arch_build}
 hdw_arch_prefix="$hdw_arch_host-"
 
 # print decissions for debugging ...
+echo "root variable set to '$root'"
 echo "hdw_arch_target variable set to $hdw_arch_target"
 echo "hdw_arch_build variable set to $hdw_arch_build"
 echo "hdw_arch_host variable ste to $hdw_arch_host"