- Removed the platform directory - renamed the platform/os.sh script to varaibles.sh - realigned the calls to os.sh - changed where the patch_ha.txt was being written to - changed the name of the binary to bitcoind.node
21 lines
364 B
Bash
Executable File
21 lines
364 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
|
|
cd "${root_dir}"
|
|
|
|
debug=
|
|
if test x"$1" = x'debug'; then
|
|
debug=--debug
|
|
cached_file="${root_dir}"/build/Debug/bitcoind.node
|
|
else
|
|
cached_file="${root_dir}"/build/Release/bitcoind.node
|
|
fi
|
|
|
|
|
|
if [ ! -f "${cached_file}" ]; then
|
|
node-pre-gyp ${debug} rebuild --fallback-to-build
|
|
fi
|
|
|
|
|