Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use POSIX shell in scripts #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/ab_compare.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

USAGE=\
Expand Down
2 changes: 1 addition & 1 deletion tools/ab_compare_daala.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

while getopts 's:v:bk:d:E:D:y:n:' OPTIONS; do
Expand Down
2 changes: 1 addition & 1 deletion tools/ab_compare_jpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

while getopts 's:d:J:j:Y:y:n:' OPTIONS; do
Expand Down
2 changes: 1 addition & 1 deletion tools/ab_compare_libvpx.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

while getopts 's:c:k:r:E:D:d:Y:y:n:' OPTIONS; do
Expand Down
2 changes: 1 addition & 1 deletion tools/ab_compare_x264.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

while getopts 's:k:r:d:Y:y:n:' OPTIONS; do
Expand Down
2 changes: 1 addition & 1 deletion tools/ab_compare_x265.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

while getopts 's:k:r:d:Y:n:' OPTIONS; do
Expand Down
2 changes: 1 addition & 1 deletion tools/bd_rate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ $# == 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/check_lossless.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ $# == 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/collect_mvf_ec.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

set -e

Expand Down
2 changes: 1 addition & 1 deletion tools/rd_average.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

if [ $# == 0 ]; then
echo "usage: OUTPUT=<label> $0 *.out"
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

CODECS="<daala|vp8|vp9|x264|x265|libjpeg|mozjpeg|theora>"
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect_daala.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ -z $RD_COLLECT_SUB ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect_jpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ -z $RD_COLLECT_SUB ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect_libvpx.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ -z $RD_COLLECT_SUB ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect_theora.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ -z $RD_COLLECT_SUB ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect_x264.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ -z $RD_COLLECT_SUB ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_collect_x265.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

if [ -z $RD_COLLECT_SUB ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/rd_plot.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e

# Use this to average data from multiple runs
Expand Down
2 changes: 1 addition & 1 deletion tools/upload_commits.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# USAGE: upload_commits.sh <num_commits> [<upload.py ARGS>]
# NOTE: -y and --send_mail are automatically passed to upload.py
Expand Down
2 changes: 1 addition & 1 deletion update_version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

# Creates and updates the package_version information used by configure.ac
# (or other makefiles). When run inside a git repository it will use the
Expand Down