Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-secp256k1.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
export LC_ALL=C | export LC_ALL=C | ||||
set -eu | set -euxo pipefail | ||||
TOPLEVEL=$(git rev-parse --show-toplevel) | TOPLEVEL=$(git rev-parse --show-toplevel) | ||||
if [[ -z "${TOPLEVEL}" ]]; then | if [[ -z "${TOPLEVEL}" ]]; then | ||||
echo "No .git directory found, assuming pwd" | echo "No .git directory found, assuming pwd" | ||||
TOPLEVEL=$(pwd -P) | TOPLEVEL=$(pwd -P) | ||||
fi | fi | ||||
SECP_DIR="${TOPLEVEL}/src/secp256k1" | SECP_DIR="${TOPLEVEL}/src/secp256k1" | ||||
Show All 19 Lines |