summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-28 14:58:08 +0200
committerFlorian Dold <florian@dold.me>2022-10-28 14:58:08 +0200
commit89a1b7119e9885d8e3559efbff9a2dd9692ce611 (patch)
treeb1cca306787aaa514346a787eaff748152f4e2e3 /bootstrap
parentc32b80c1764f8a594bc085bd74382a5522b89c24 (diff)
downloadwallet-core-89a1b7119e9885d8e3559efbff9a2dd9692ce611.tar.gz
wallet-core-89a1b7119e9885d8e3559efbff9a2dd9692ce611.tar.bz2
wallet-core-89a1b7119e9885d8e3559efbff9a2dd9692ce611.zip
build system: makefile for taler-wallet-cli
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap18
1 files changed, 13 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index d862b5652..ea03b913d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -11,8 +11,16 @@ if ! git --version >/dev/null; then
fi
git submodule update --init
-rm -rf configure
-cp build-system/taler-build-scripts/configure ./configure
-# Try making the configure script read-only to prevent
-# accidental changes in the wrong place.
-chmod ogu-w ./configure || true
+
+copy_configure() {
+ src=$1
+ dst=$2
+ rm -f $dst
+ cp $src $dst
+ # Try making the configure script read-only to prevent
+ # accidental changes in the wrong place.
+ chmod ogu-w $dst || true
+}
+our_configure=build-system/taler-build-scripts/configure
+copy_configure "$our_configure" ./configure
+copy_configure "$our_configure" ./packages/taler-wallet-cli/configure