[med-svn] r7361 - trunk/packages/circos-tools/trunk/debian

Charles Plessy plessy at alioth.debian.org
Mon Aug 1 05:22:36 UTC 2011


Author: plessy
Date: 2011-08-01 05:22:35 +0000 (Mon, 01 Aug 2011)
New Revision: 7361

Removed:
   trunk/packages/circos-tools/trunk/debian/patches/
Modified:
   trunk/packages/circos-tools/trunk/debian/rules
Log:
Group all the changes of paths in a single sed command.


Modified: trunk/packages/circos-tools/trunk/debian/rules
===================================================================
--- trunk/packages/circos-tools/trunk/debian/rules	2011-08-01 04:58:19 UTC (rev 7360)
+++ trunk/packages/circos-tools/trunk/debian/rules	2011-08-01 05:22:35 UTC (rev 7361)
@@ -15,8 +15,12 @@
 override_dh_install:
 	dh_install
 	# Update circos relative path to absolute debian paths
-	find debian/circos-tools -type f | xargs sed -i 's/include etc/include \/usr\/share\/circos\/etc/g'
-	find debian/circos-tools -type f | xargs sed -i 's/include fonts/include \/usr\/share\/circos\/fonts/g'
-	find debian/circos-tools -type f | xargs sed -i 's/include svg/include \/usr\/share\/circos\/svg/g'
-	find debian/circos-tools -type f | xargs sed -i 's/include tiles/include \/usr\/share\/circos\/tiles/g'
-	find debian/circos-tools -type f | xargs sed -i 's/include data/include \/var\/lib\/circos\/data/g'
+	find debian/circos-tools -type f \
+	 | xargs sed -i \
+	-e 's,include etc,include /usr/share/circos/etc,g' \
+	-e 's,include fonts,include /usr/share/circos/fonts,g' \
+	-e 's,include svg,include /usr/share/circos/svg,g' \
+	-e 's,include tiles,include /usr/share/circos/tiles,g' \
+	-e 's,include data,include /var/lib/circos/data,g' \
+	-e 's,home/martink/bin/perl,usr/bin/perl,g' \
+	-e 's,bin/env,usr/bin/env,g'




More information about the debian-med-commit mailing list