diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-04-19 14:33:20 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-06-24 00:48:42 +0200 |
commit | c474f5a9fcfc8eaf8022d58d199ed8af1bc65521 (patch) | |
tree | e409c151740e999844d16e2ac04a2b7ea1168e29 /recipes/images/files/library/imx6/update.sh | |
parent | 885240934ecdfa7f4b13a80a1ac63b63f60eb875 (diff) |
update.sh: use test expressions in if statement for colibri-t20
Since we introduced set -e commands which fail will exit silently.
This leads to no error message when the grep which tests for
specified parameters failed.
We could solve it with || true, but it seems more lightweight to
just test for the strings inside the if statement. It also checks
for the full length (e.g. disallows "25" as RAM size).
The later fixed only 256 MB RAM size copy paste issue.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes/images/files/library/imx6/update.sh')
0 files changed, 0 insertions, 0 deletions