[boinc] 01/01: Minor improvements in export script

Gianfranco Costamagna locutusofborg-guest at alioth.debian.org
Tue Sep 17 13:50:20 UTC 2013


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

locutusofborg-guest pushed a commit to branch master
in repository boinc.

commit 646fb7ba61ba7be7b1935720285f6a71848159df
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Tue Sep 17 15:50:06 2013 +0200

    Minor improvements in export script
---
 debian/rules |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9f82776..0bb0ee8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -436,14 +436,12 @@ get-orig-source:
 	#  sed 's/boinc_core_release_\(.*\)\//\1/' | \
 	#  sort -g -t_ -k1 -k2 -k3 | sed 's/_/./g' | tail -n 1 | tr -d '\n'`; \
 	#
-	#echo "this script doesn't work anymore since the upstream switch from svn to git"
 	VERSION=$(shell dpkg-parsechangelog | egrep '^Version:' | \
 	cut -d ' ' -f 2 | cut -d '-' -f 1 | cut -d '+' -f 1 | cut -d '~' -f 1 | perl -pe 's/^.*?://')
 	nice="nice -5"; if [ -x /usr/bin/ionice ]; then nice="$$nice ionice -c 3"; fi ; \
 	$$nice wget -O $(EXB) "http://boinc.berkeley.edu/git/boinc-v2.git/refs/tags/client_release/7.2/" --quiet;
-	LATEST_VERSION=$(shell grep -e '[0-9]\.[0-9]\.[0-9]*' $(EXB) -o |sort -n |tail -n 1)
-	$(shell echo $(LATEST_VERSION))
-	echo $$VERSION
+	LATEST_VERSION=$(shell grep -e '[0-9]\.[0-9]\.[0-9]*' $(EXB) -o |sort -n |tail -n 1) \
+	$(shell echo $(LATEST_VERSION)) \
 	#rm -f $$EXB
 	#FIXME
 	#next part should be done only if the two versions are different, how to perform this if?
@@ -452,7 +450,7 @@ get-orig-source:
 	$$nice wget -O $$EXB "http://git.debian.org/?p=pkg-boinc/scripts.git;a=blob_plain;f=export-boinc;hb=HEAD" --quiet; \
 	chmod +x $$EXB; \
 	$$nice $$EXB -r $(shell grep -e '[0-9]\.[0-9]\.[0-9]*' $(EXB) -o |sort -n |tail -n 1) -t $(origDir); \
-	rm -f $$EXB ;
+	rm -f $$EXB ; \
 	#fi ;
 
 .PHONY: get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git



More information about the pkg-boinc-commits mailing list