Use portable equality test

This commit is contained in:
Ben Ramsey
2019-12-03 17:51:09 -08:00
parent 7bee600f4f
commit ed35e368c0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ architecture="${ARCH:-${TRAVIS_CPU_ARCH:-$(uname -m)}}"
cmd_proxy=""
if [ "${architecture}" == "arm32" ]; then
if [ "${architecture}" = "arm32" ]; then
image="benramsey/ramsey-uuid:php-${php_version}-arm32v7"
volumes="-v ${PWD}:/app -v ${HOME}/.composer:/root/.composer"
cmd_proxy="docker run -it --rm ${volumes} -w /app ${image}"
+1 -1
View File
@@ -3,7 +3,7 @@
endianness=$(printf I | hexdump -o | awk '{ print substr($2,6,1); exit}')
endian="Big"
if [ "${endianness}" == "1" ]; then
if [ "${endianness}" = "1" ]; then
endian="Little"
fi
+1 -1
View File
@@ -6,7 +6,7 @@
architecture=${ARCH:-${TRAVIS_CPU_ARCH:-$(uname -m)}}
if [ "${architecture}" == "arm32" ]; then
if [ "${architecture}" = "arm32" ]; then
exit
fi