]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix in build_test: Omit branches/ for branch names
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 27 Mar 2013 19:40:53 +0000 (19:40 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 27 Mar 2013 19:40:53 +0000 (19:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@29085 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/utilities/build_test

index b1c5e25697c5bef587ff06ef816fc73306e8e9f1..954d24144191d408ec5c3c79244b1f88cace4408 100755 (executable)
@@ -29,10 +29,10 @@ SOURCEDIR=$(CURDIR)
 LOGDIR=$(PWD)
 TMPDIR=/tmp
 CMAKE=cmake
-SVN=svn info
+SVN=svn info $(SOURCEDIR)
 
-branch:=$(shell $(SVN) $(SOURCEDIR) | perl -ne 'print "$$1" if m/svn\.dealii\.org\/(.+)\/deal.II/;')
-revision:=$(shell $(SVN) $(SOURCEDIR) | perl -ne 'print "$$_" if s/Last Changed Rev: //;')
+branch:=$(shell $(SVN) | perl -ne 'print "$$1" if m/svn\.dealii\.org.*\/(.+?)\/deal.II/;')
+revision:=$(shell $(SVN) | perl -ne 'print "$$_" if s/Last Changed Rev: //;')
 
 date:= $(shell date +%s)
 random:=$(shell echo "$$RANDOM")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.