Skip to content
Snippets Groups Projects
Commit 0fecc997 authored by Sven Roederer's avatar Sven Roederer Committed by Adrian Schmutzler
Browse files

base-files: remove some bashisms


"[[" is a bash extension for test. As the ash-implementation is
not fully compatible we drop its usage.
Also change to "=" for simple test, which is sufficient. (see d6ac8ca7)

Signed-off-by: default avatarSven Roederer <devel-sven@geroedel.de>
[split patch, removed shebang]
Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
parent eec50c73
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ caldata_valid() {
local expected="$1"
magic=$(hexdump -v -n 2 -e '1/1 "%02x"' /lib/firmware/$FIRMWARE)
[[ "$magic" == "$expected" ]]
[ "$magic" = "$expected" ]
return $?
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment