[Pkg-cli-apps-commits] [fsharp] 03/05: Forcibly convert fsproj files to UNIX line endings, because Debian tools to to absolute hell on mixed-ending source trees in git, and we need to patch them

Jo Shields directhex at moszumanska.debian.org
Tue Oct 14 19:04:38 UTC 2014


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

directhex pushed a commit to branch master
in repository fsharp.

commit e41e70ec907c3cab55955e1b9711a915e6e1d432
Author: Jo Shields <jo.shields at xamarin.com>
Date:   Tue Oct 14 12:02:41 2014 +0100

    Forcibly convert fsproj files to UNIX line endings, because Debian tools to to absolute hell on mixed-ending source trees in git, and we need to patch them
---
 debian/control | 1 +
 debian/rules   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index 9d941ce..532a283 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Christopher James Halse Rogers <raof at ubuntu.com>
 Build-Depends: debhelper (>= 8.0.0),
   dh-autoreconf,
   cli-common-dev (>= 0.9),
+  tofrodos
 Standards-Version: 3.9.5
 Homepage: http://fsharp.org
 Vcs-Git: git://anongit.debian.org/pkg-cli-apps/packages/fsharp.git
diff --git a/debian/rules b/debian/rules
index 67dc929..2041142 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,6 +68,7 @@ get-orig-source:
 	find $(DEB_SOURCE_NAME)-$(VERSION) -name "*.dll" | grep -v "bootstrap" | xargs rm -f
 	find $(DEB_SOURCE_NAME)-$(VERSION)/lib/bootstrap/signed
 	rm -rf $(DEB_SOURCE_NAME)-$(VERSION)/lib/bootstrap/signed
+	find $(DEB_SOURCE_NAME)-$(VERSION) -type f -name \*.fsproj -print0 | xargs -0 fromdos
 	tar --mtime=@1255820400 -cf ./$(DEB_SOURCE_NAME)_$(VERSION)+dfsg2.orig.tar $(DEB_SOURCE_NAME)-$(VERSION)
 	gzip -9fn ./$(DEB_SOURCE_NAME)_$(VERSION)+dfsg2.orig.tar
 	rm -r $(DEB_SOURCE_NAME)-$(VERSION)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/fsharp.git



More information about the Pkg-cli-apps-commits mailing list