diff options
author | Florian Dold <florian@dold.me> | 2022-10-28 14:58:08 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-28 14:58:08 +0200 |
commit | 89a1b7119e9885d8e3559efbff9a2dd9692ce611 (patch) | |
tree | b1cca306787aaa514346a787eaff748152f4e2e3 /bootstrap | |
parent | c32b80c1764f8a594bc085bd74382a5522b89c24 (diff) |
build system: makefile for taler-wallet-cli
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -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 |