r752 - /trunk/boinc-app-seti/debian/rules

fst-guest at users.alioth.debian.org fst-guest at users.alioth.debian.org
Tue Nov 20 15:49:57 UTC 2007


Author: fst-guest
Date: Tue Nov 20 15:49:57 2007
New Revision: 752

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=752
Log:
Follow the recommendations of http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules for the get-orig-source target:
 * The source tarball should be left in the current working directory.
 * It should clean up any temporary files, therefore we remove download-seti
   after the tarball has been downloaded.

Modified:
    trunk/boinc-app-seti/debian/rules

Modified: trunk/boinc-app-seti/debian/rules
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/debian/rules?rev=752&op=diff
==============================================================================
--- trunk/boinc-app-seti/debian/rules (original)
+++ trunk/boinc-app-seti/debian/rules Tue Nov 20 15:49:57 2007
@@ -59,11 +59,11 @@
 
 get-orig-source:
 	curl=`which curl`; if [ -z "$$curl" ]; then echo curl needs to be installed; exit -1; fi
-	(cd .. ; \
-	url="http://svn.debian.org/wsvn/pkg-boinc/scripts/download-seti?op=file&rev=0&sc=0" ; \
+	(url="http://svn.debian.org/wsvn/pkg-boinc/scripts/download-seti?op=file&rev=0&sc=0" ; \
 	wget -O - -Nc "$$url" | sed -e '1,/PRE/d' -e '/PRE/,$$d' -e 's/"/"/g' -e 's/ / /g' >  download-seti; \
 	ddd=`date -d yesterday +%Y-%m-%d | tr -d '\n'`; \
 	echo "release date=$$ddd"; \
-	sh download-seti $$ddd)
+	sh download-seti $$ddd ; \
+	rm download-seti)
 
 .PHONY: get-orig-source




More information about the pkg-boinc-commits mailing list