From 89a1b7119e9885d8e3559efbff9a2dd9692ce611 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 28 Oct 2022 14:58:08 +0200 Subject: build system: makefile for taler-wallet-cli --- bootstrap | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'bootstrap') 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 -- cgit v1.2.3