mirror of
https://github.com/namecoin/ncdns-repro
synced 2024-11-13 19:12:01 +00:00
37c0055f91
Generate it on-the-fly from upstream Tor instead.
16 lines
466 B
Bash
Executable File
16 lines
466 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
shopt -s nullglob globstar
|
|
|
|
pushd tor-browser-build
|
|
# Undo any of Namecoin's patches that might have been done previously.
|
|
git reset --hard HEAD
|
|
git clean -dfx
|
|
patch -p1 < ../tools/checkpoints.patch
|
|
popd
|
|
|
|
# Rename torbrowser to ncdns
|
|
# Use ncdns_version from ncdns project
|
|
cat tor-browser-build/rbm.conf | sed "s/torbrowser/ncdns/g" | sed "s/ncdns_version: '.*'/ncdns_version: '[% pc(\"ncdns\", \"version\") %]'/g" > rbm.conf
|