load config if not already loaded

This commit is contained in:
Ray Elliott 2020-03-22 13:12:30 +00:00
parent d0b86dbc12
commit 962efa9962
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/bin/sh
if [ -z $_config_loaded ] ; then
echo "No config loaded - loading '../config.sh'"
. ../config.sh
fi
set -e
if ! command -v yarn ; then