test.bash: execute build-without-openssl.bash instead of sourcing it

Sourcing the script breaks the "cd $(dirname $0)" logic in
build-without-openssl.bash.
This commit is contained in:
Jakob Unterwurzacher 2017-03-05 13:32:28 +01:00
parent 6cc0aebd71
commit 6465fa42a6

View File

@ -24,10 +24,10 @@ for i in $(mount | grep $TESTDIR | cut -f3 -d" "); do
fuse-unmount $i
done
source build-without-openssl.bash
./build-without-openssl.bash
# Building with openssl is difficult on OSX, so only do it on Linux.
if [[ $OSTYPE == linux* ]] ; then
source build.bash
./build.bash
fi
if go tool | grep vet > /dev/null ; then