mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
26 lines
599 B
Bash
26 lines
599 B
Bash
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Copyright (c) 2018 The Bitcoin Core developers
|
||
|
# Distributed under the MIT software license, see the accompanying
|
||
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
||
|
export LC_ALL=C.UTF-8
|
||
|
|
||
|
PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
||
|
export PATH
|
||
|
|
||
|
BEGIN_FOLD () {
|
||
|
echo ""
|
||
|
CURRENT_FOLD_NAME=$1
|
||
|
echo "travis_fold:start:${CURRENT_FOLD_NAME}"
|
||
|
}
|
||
|
|
||
|
END_FOLD () {
|
||
|
RET=$?
|
||
|
echo "travis_fold:end:${CURRENT_FOLD_NAME}"
|
||
|
if [ $RET != 0 ]; then
|
||
|
echo "${CURRENT_FOLD_NAME} failed with status code ${RET}"
|
||
|
fi
|
||
|
}
|
||
|
|