[Pkg-wmaker-commits] [wmbattery] 11/241: no newline in LATEST-VERSION-IS file, breaks some browsers

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


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

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

commit df8fa850959a1fa92a67bdad9c0357bf927533df
Author: joey <joey at a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Date:   Fri Sep 1 21:37:50 2000 +0000

    no newline in LATEST-VERSION-IS file, breaks some browsers
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 457e5f6..39cd96e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,7 +58,7 @@ VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Ver
 installhook:
 	rm /home/ftp/pub/code/wmbattery/* || true
 	cp debian/changelog /home/pub/programs/wmbattery/CHANGES
-	echo $(VERSION) > /home/pub/programs/wmbattery/LATEST-VERSION-IS
+	echo -n $(VERSION) > /home/pub/programs/wmbattery/LATEST-VERSION-IS
 	cd /home/ftp/pub/code/wmbattery; \
 		ln -sf ../debian/wmbattery_$(VERSION).tar.gz wmbattery_$(VERSION).tar.gz; \
 		ln -sf ../debian/wmbattery_$(VERSION).tar.gz wmbattery.tar.gz

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



More information about the Pkg-wmaker-commits mailing list