Skip to content

Commit

Permalink
add missing shebang lines to .sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
iameli committed May 2, 2019
1 parent 960084b commit 2974462
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

os=$([ $(uname | grep 'Darwin') ] && echo 'darwin' || echo 'linux');
curl -s https://api.github.com/repos/livepeer/go-livepeer/releases/latest \
| grep browser_download_url \
Expand Down
2 changes: 2 additions & 0 deletions install_ffmpeg.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -ex

export PATH="$HOME/compiled/bin":$PATH
Expand Down
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

#Test script to run all the tests for continuous integration

cd core
Expand Down
2 changes: 2 additions & 0 deletions test_docker.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env bash

docker build -t go-livepeer-test . && docker run --rm --name go-livepeer-test-run go-livepeer-test
4 changes: 3 additions & 1 deletion transcode_demo.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/usr/bin/env bash

url='localhost:8935'
manifestID='current'

print_usage() {
printf "Usage: use -u to specify the url (default localhost:8935), use -m to specify manifestID (default current.m3u8)"
printf "Usage: use -u to specify the url (default localhost:8935), use -m to specify manifestID (default current.m3u8)"
}

while getopts ":u:m:h" opt; do
Expand Down

0 comments on commit 2974462

Please sign in to comment.