diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-06-05 12:19:40 -0400 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-06-05 12:20:53 -0400 |
commit | 9a27722b98ba58282efbf668864259139d4faa18 (patch) | |
tree | 2f0d3a75ad51af99dea07149ecfe5cebf462b7be /build | |
parent | 09202d80716ef7e2931de60c66b6fb2383f52613 (diff) | |
download | libvpx-9a27722b98ba58282efbf668864259139d4faa18.tar libvpx-9a27722b98ba58282efbf668864259139d4faa18.tar.gz libvpx-9a27722b98ba58282efbf668864259139d4faa18.tar.bz2 libvpx-9a27722b98ba58282efbf668864259139d4faa18.zip |
Remove some bashism from the shell scripts.
Note that configure.sh still uses the bashism $(RANDOM).
Diffstat (limited to 'build')
-rwxr-xr-x | build/make/configure.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index 1f4f24db9..a70a84eec 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -120,8 +120,8 @@ EOF show_targets() { while [ -n "$*" ]; do - if [ "${1%%-*}" == "${2%%-*}" ]; then - if [ "${2%%-*}" == "${3%%-*}" ]; then + if [ "${1%%-*}" = "${2%%-*}" ]; then + if [ "${2%%-*}" = "${3%%-*}" ]; then printf " %-24s %-24s %-24s\n" "$1" "$2" "$3" shift; shift; shift else @@ -475,7 +475,7 @@ post_process_common_cmdline() { prefix="${prefix%/}" libdir="${libdir:-${prefix}/lib}" libdir="${libdir%/}" - if [ "${libdir#${prefix}}" == "${libdir}" ]; then + if [ "${libdir#${prefix}}" = "${libdir}" ]; then die "Libdir ${libdir} must be a subdirectory of ${prefix}" fi } |