diff options
author | Wolfgang Denk <wd@denx.de> | 2008-01-02 14:54:45 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-02 14:54:45 (GMT) |
commit | 1aaab9bfae0b3b2ee2b418c22c651280ee7b65c7 (patch) | |
tree | 572bd02a0888577ae17373cad54c32eeaa3b45c0 /board/versatile | |
parent | 8f8b52ea5b35c29669f2471de644c0bb7339c70a (diff) | |
download | u-boot-fsl-qoriq-1aaab9bfae0b3b2ee2b418c22c651280ee7b65c7.tar.xz |
Make scripts and Makefiles POSIX compliant
The bash builtin versions of the "test" (resp. "[") command allow
using "==" for string comparisons, but POSIX compatible implemen-
tations (like /usr/bin/test) insist on using "=" only. On such systems
you will see:
$ /usr/bin/test a == a && echo OK
/usr/bin/test: ==: binary operator expected
This patch fixes Makefiles and scripts to use POSIX style.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/versatile')
-rwxr-xr-x | board/versatile/split_by_variant.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/versatile/split_by_variant.sh b/board/versatile/split_by_variant.sh index 25461c2..ccded7e 100755 --- a/board/versatile/split_by_variant.sh +++ b/board/versatile/split_by_variant.sh @@ -8,7 +8,7 @@ mkdir -p ${obj}include variant=PB926EJ-S -if [ "$1" == "" ] +if [ "$1" = "" ] then echo "$0:: No parameters - using versatilepb_config" echo "#define CONFIG_ARCH_VERSATILE_PB" > ${obj}include/config.h |