Make scripts and Makefiles POSIX compliant
[oweals/u-boot.git] / board / integratorap / split_by_variant.sh
index 53b0d1e340ed05b05b6e2450166a40c4b03927dc..4b94d8ff8c4c97aa029278690de6bee38117c8a9 100755 (executable)
@@ -14,7 +14,7 @@ echo  " 1 /* Integrator/AP     */"            >> tmp.fil
 cpu="arm_intcm"
 variant="unknown core module"
 
-if [ "$1" == "" ]
+if [ "$1" = "" ]
 then
        echo "$0:: No parameters - using arm_intcm"
 else
@@ -84,7 +84,7 @@ else
        esac
 fi
 
-if [ "$cpu" == "arm_intcm" ]
+if [ "$cpu" = "arm_intcm" ]
 then
        echo "/* Core module undefined/not ported */"   >> tmp.fil
        echo "#define CONFIG_ARM_INTCM 1"               >> tmp.fil