#!/bin/bash set -ev cd $(dirname $(readlink -f $0)) # Download the specified version of utPLSQL. if [ "$UTPLSQL_VERSION" == "develop" ] then git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git else curl -L -O "https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION/$UTPLSQL_FILE.tar.gz" tar -xzf ${UTPLSQL_FILE}.tar.gz && rm ${UTPLSQL_FILE}.tar.gz fi chmod -R go+w ./${UTPLSQL_FILE}/{source,examples} # Create a temporary install script. cat > install.sh.tmp <