kopia lustrzana https://github.com/jupyterhub/repo2docker
Compare to empty string when start script test fails
rodzic
7f1f270e12
commit
16079b9981
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
if [ "$TEST_START_VAR" != "var is set" ]
|
# set value of TEST_START_VAR to empty string when it is not defined
|
||||||
|
if [ "${TEST_START_VAR:-}" != "var is set" ]
|
||||||
then
|
then
|
||||||
echo "TEST_START_VAR is not set"
|
echo "TEST_START_VAR is not set"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Ładowanie…
Reference in New Issue