replace source with .
The command source is unknown in pure sh, so we need to use . as the source command.
This commit is contained in:
parent
7b3b64bbdc
commit
e31f4ab411
|
@ -13,7 +13,7 @@ if [ ! -f "$1" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source "$1"
|
. "$1"
|
||||||
if [ "$?" -gt "0" ]; then
|
if [ "$?" -gt "0" ]; then
|
||||||
echo "loading config file caused an error"
|
echo "loading config file caused an error"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue