From 15a196816129cf8625af15a05d0d8a0ac3316826 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Sat, 9 Jan 2016 13:50:25 +0100 Subject: [PATCH] Use POSIX shell in scripts Some systems don't have bash at /bin/bash, or may use other shells by default --- tools/ab_compare.sh | 2 +- tools/ab_compare_daala.sh | 2 +- tools/ab_compare_jpeg.sh | 2 +- tools/ab_compare_libvpx.sh | 2 +- tools/ab_compare_x264.sh | 2 +- tools/ab_compare_x265.sh | 2 +- tools/bd_rate.sh | 2 +- tools/check_lossless.sh | 2 +- tools/collect_mvf_ec.sh | 2 +- tools/rd_average.sh | 2 +- tools/rd_collect.sh | 2 +- tools/rd_collect_daala.sh | 2 +- tools/rd_collect_jpeg.sh | 2 +- tools/rd_collect_libvpx.sh | 2 +- tools/rd_collect_theora.sh | 2 +- tools/rd_collect_x264.sh | 2 +- tools/rd_collect_x265.sh | 2 +- tools/rd_plot.sh | 2 +- tools/upload_commits.sh | 2 +- update_version | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/tools/ab_compare.sh b/tools/ab_compare.sh index 8cbe3fae..fdd4f798 100755 --- a/tools/ab_compare.sh +++ b/tools/ab_compare.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e USAGE=\ diff --git a/tools/ab_compare_daala.sh b/tools/ab_compare_daala.sh index 61d28478..f7be2da6 100755 --- a/tools/ab_compare_daala.sh +++ b/tools/ab_compare_daala.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e while getopts 's:v:bk:d:E:D:y:n:' OPTIONS; do diff --git a/tools/ab_compare_jpeg.sh b/tools/ab_compare_jpeg.sh index 923d15a2..577785ab 100755 --- a/tools/ab_compare_jpeg.sh +++ b/tools/ab_compare_jpeg.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e while getopts 's:d:J:j:Y:y:n:' OPTIONS; do diff --git a/tools/ab_compare_libvpx.sh b/tools/ab_compare_libvpx.sh index e97b1d84..d17f1161 100755 --- a/tools/ab_compare_libvpx.sh +++ b/tools/ab_compare_libvpx.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e while getopts 's:c:k:r:E:D:d:Y:y:n:' OPTIONS; do diff --git a/tools/ab_compare_x264.sh b/tools/ab_compare_x264.sh index f33fc528..68596203 100755 --- a/tools/ab_compare_x264.sh +++ b/tools/ab_compare_x264.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e while getopts 's:k:r:d:Y:y:n:' OPTIONS; do diff --git a/tools/ab_compare_x265.sh b/tools/ab_compare_x265.sh index a348a3dd..0fcc090d 100755 --- a/tools/ab_compare_x265.sh +++ b/tools/ab_compare_x265.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e while getopts 's:k:r:d:Y:n:' OPTIONS; do diff --git a/tools/bd_rate.sh b/tools/bd_rate.sh index 805a2710..ee946d9d 100755 --- a/tools/bd_rate.sh +++ b/tools/bd_rate.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e if [ $# == 0 ]; then diff --git a/tools/check_lossless.sh b/tools/check_lossless.sh index d67f0d14..c5f224c0 100755 --- a/tools/check_lossless.sh +++ b/tools/check_lossless.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e if [ $# == 0 ]; then diff --git a/tools/collect_mvf_ec.sh b/tools/collect_mvf_ec.sh index 107796f4..f5291659 100755 --- a/tools/collect_mvf_ec.sh +++ b/tools/collect_mvf_ec.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e diff --git a/tools/rd_average.sh b/tools/rd_average.sh index dac7470c..4fe8cae5 100755 --- a/tools/rd_average.sh +++ b/tools/rd_average.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ $# == 0 ]; then echo "usage: OUTPUT=