Use /bin/bash instead of /bin/sh in scripts
`/bin/sh` isn't always an alias of `/bin/bash`, so bash-specific syntax broke the scripts.
(like 777a9ae6e4/scripts/_get-test-directories.sh (L7))
This commit is contained in:
parent
777a9ae6e4
commit
4e7961dcf8
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
TEST_DIRS=""
|
TEST_DIRS=""
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
read -p "Username: " username
|
read -p "Username: " username
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
testDirs=`TEST_TYPE=cov scripts/_get-test-directories.sh`
|
testDirs=`TEST_TYPE=cov scripts/_get-test-directories.sh`
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ -z "$TEST_GREP" ]; then
|
if [ -z "$TEST_GREP" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user