[SCM] packaging for the mame arcade game emulator branch, master, updated. eaef69b68c978bf7605edde4e5a07c40e780ad90

Cesare Falco cesare.falco at gmail.com
Tue Jul 5 08:53:00 UTC 2011


The following commit has been merged in the master branch:
commit eaef69b68c978bf7605edde4e5a07c40e780ad90
Author: Cesare Falco <cesare.falco at gmail.com>
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



More information about the Pkg-games-commits mailing list