dotnet-installer/scripts/ci_build.sh

14 lines
237 B
Bash
Raw Normal View History

2015-10-21 19:07:54 +00:00
#!/usr/bin/env bash
2015-10-22 19:31:58 +00:00
whoami
2015-10-21 19:07:54 +00:00
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2015-10-22 19:14:58 +00:00
if [[ "$(uname)" == "Linux" ]]; then
$SCRIPT_DIR/dockerbuild.sh debian $@
2015-10-22 19:14:58 +00:00
else
$SCRIPT_DIR/../build.sh $@
fi
2015-10-21 19:07:54 +00:00
ret_code=$?
exit $ret_code