gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-bank] branch master updated: Include bootstrap in the TGZ.


From: gnunet
Subject: [taler-bank] branch master updated: Include bootstrap in the TGZ.
Date: Mon, 09 Aug 2021 15:46:00 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new f5e46f4  Include bootstrap in the TGZ.
f5e46f4 is described below

commit f5e46f4aaa445400caed6ceb714a58aa939eaa1a
Author: ms <ms@taler.net>
AuthorDate: Mon Aug 9 15:45:09 2021 +0200

    Include bootstrap in the TGZ.
---
 bootstrap             | 13 ++++++++-----
 build-system/Makefile |  2 +-
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/bootstrap b/bootstrap
index 9ea2c21..a47322d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -5,12 +5,15 @@
 
 set -eu
 
-if ! git --version >/dev/null; then
-  echo "git not installed"
-  exit 1
+# Skip git-commands when installing from a TGZ package.
+if [ -d .git ] ; then
+  if ! git --version >/dev/null; then
+    echo "git not installed"
+    exit 1
+  fi
+  git submodule sync
+  git submodule update --init
 fi
 
-git submodule sync
-git submodule update --init
 rm -f ./configure
 cp build-system/taler-build-scripts/configure ./configure
diff --git a/build-system/Makefile b/build-system/Makefile
index 8d6d9bf..dfc8127 100644
--- a/build-system/Makefile
+++ b/build-system/Makefile
@@ -47,7 +47,7 @@ configure: build-system/taler-build-scripts/
 
 .PHONY: dist
 dist: configure
-       
./build-system/taler-build-scripts/archive-with-submodules/git_archive_all.py 
--include ./configure taler-bank-$(version).tar.gz
+       
./build-system/taler-build-scripts/archive-with-submodules/git_archive_all.py 
--include ./bootstrap --include ./configure taler-bank-$(version).tar.gz
 
 .PHONY: pretty
 pretty: poetry-install

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]