[Pkg-wmaker-commits] [wmtime] 47/101: debian/rules: Update get-orig-source target; add --no-symlink for newer versions of uscan and check if tarball was downloaded before renaming.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:59:28 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmtime.

commit f66f4633428041380979b59054b1320fecbc1c66
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Jan 3 07:13:03 2015 -0600

    debian/rules: Update get-orig-source target; add --no-symlink for newer versions of uscan and check if tarball was downloaded before renaming.
---
 debian/rules | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 539c568..6f78e00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 	dh $@ --sourcedirectory=wmtime
 
 get-orig-source:
-	uscan --verbose --force-download
-	rename -v "s/wmtime-(.+)\.download/wmtime_\1\.orig\.tar\.gz/" \
-		../wmtime-*.download
+	uscan --verbose --force-download --no-symlink
+	@if test -e ../wmtime-*.download ; then \
+		rename -f -v "s/wmtime-(.+)\.download/wmtime_\1\.orig\.tar\.gz/" \
+			../wmtime-*.download; \
+	fi

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



More information about the Pkg-wmaker-commits mailing list