#!/bin/bash root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.." cd "${root_dir}" pushd "${root_dir}"/libbitcoind make clean popd node-gyp clean rm -fr cache/*