mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Use portable equality test
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
architecture=${ARCH:-${TRAVIS_CPU_ARCH:-$(uname -m)}}
|
||||
|
||||
if [ "${architecture}" == "arm32" ]; then
|
||||
if [ "${architecture}" = "arm32" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user