mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 07:23:30 +08:00
skeleton: fix atstk1005, ststk100x and atngw100 for POSIX compliance
Using two '=' for string comparison is a bashism. Revert to using one, as stated in POSIX 1003.1-2008. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d12bc6294a
commit
5c6320f1b5
@ -8,9 +8,9 @@ fi
|
||||
|
||||
BOARD=`cat /etc/release | cut -d ' ' -f1`
|
||||
|
||||
if [ "${BOARD}" == "" ]; then
|
||||
if [ "${BOARD}" = "" ]; then
|
||||
echo "none";
|
||||
elif [ "${BOARD}" == "NGW100" ]; then
|
||||
elif [ "${BOARD}" = "NGW100" ]; then
|
||||
echo "'${BOARD}'"
|
||||
|
||||
echo -n " boot LED: "
|
||||
@ -111,7 +111,7 @@ elif [ "${BOARD}" == "NGW100" ]; then
|
||||
echo "failed"
|
||||
exit 1
|
||||
fi
|
||||
elif [ "${BOARD}" == "STK1000" ]; then # end NGW100
|
||||
elif [ "${BOARD}" = "STK1000" ]; then # end NGW100
|
||||
echo "'${BOARD}'"
|
||||
|
||||
echo -n " switches: "
|
||||
|
@ -8,9 +8,9 @@ fi
|
||||
|
||||
BOARD=`cat /etc/release | cut -d ' ' -f1`
|
||||
|
||||
if [ "${BOARD}" == "" ]; then
|
||||
if [ "${BOARD}" = "" ]; then
|
||||
echo "none";
|
||||
elif [ "${BOARD}" == "NGW" ]; then
|
||||
elif [ "${BOARD}" = "NGW" ]; then
|
||||
echo "'${BOARD}'"
|
||||
|
||||
echo -n " boot LED: "
|
||||
@ -111,7 +111,7 @@ elif [ "${BOARD}" == "NGW" ]; then
|
||||
echo "failed"
|
||||
exit 1
|
||||
fi
|
||||
elif [ "${BOARD}" == "STK1000" ]; then # end NGW
|
||||
elif [ "${BOARD}" = "STK1000" ]; then # end NGW
|
||||
echo "'${BOARD}'"
|
||||
|
||||
echo -n " switches: "
|
||||
|
@ -8,9 +8,9 @@ fi
|
||||
|
||||
BOARD=`cat /etc/release | cut -d ' ' -f1`
|
||||
|
||||
if [ "${BOARD}" == "" ]; then
|
||||
if [ "${BOARD}" = "" ]; then
|
||||
echo "none";
|
||||
elif [ "${BOARD}" == "NGW" ]; then
|
||||
elif [ "${BOARD}" = "NGW" ]; then
|
||||
echo "'${BOARD}'"
|
||||
|
||||
echo -n " boot LED: "
|
||||
@ -111,7 +111,7 @@ elif [ "${BOARD}" == "NGW" ]; then
|
||||
echo "failed"
|
||||
exit 1
|
||||
fi
|
||||
elif [ "${BOARD}" == "STK1000" ]; then # end NGW
|
||||
elif [ "${BOARD}" = "STK1000" ]; then # end NGW
|
||||
echo "'${BOARD}'"
|
||||
|
||||
echo -n " switches: "
|
||||
|
Loading…
Reference in New Issue
Block a user