The following commit has been merged in the master branch:
commit eaef69b68c978bf7605edde4e5a07c40e780ad90
Author: Cesare Falco <[email protected]>
Date:   Fri Jul 1 16:31:43 2011 +0200

    Handled spaces within filenames in CR's trimming

diff --git a/debian/rules b/debian/rules
index d9d7aa7..9ed75aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -229,6 +229,7 @@ get-orig-source: $(MAME_FILEBASE)s.zip $(MESS_FILEBASE)s.zip
        find $(TMPDIR)/sub/$(MAME_PACKAGE)-$(VERSION) \
            -type f -regextype posix-egrep \
            ! -regex ".*(zip|gif|png|bmp|ico)" \
+           | sed 's/\ /\\\ /g' \
            | xargs sed -i "s/\r$$//"
        tar -C $(TMPDIR)/sub -cvf - $(MAME_PACKAGE)-$(VERSION) | \
            bzip2 -c9  > ../$(MAME_PACKAGE)_$(VERSION).orig.tar.bz2
@@ -241,6 +242,7 @@ get-orig-source: $(MAME_FILEBASE)s.zip $(MESS_FILEBASE)s.zip
        find $(TMPDIR)/$(MESS_PACKAGE)-$(VERSION) \
            -type f -regextype posix-egrep \
            ! -regex ".*(zip|gif|png|bmp|ico)" \
+           | sed 's/\ /\\\ /g' \
            | xargs sed -i "s/\r$$//"
        tar -C $(TMPDIR) -cvf - $(MESS_PACKAGE)-$(VERSION) | \
            bzip2 -c9  > 
../$(MAME_PACKAGE)_$(VERSION).orig-$(MESS_PACKAGE).tar.bz2

-- 
packaging for the mame arcade game emulator

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to