Source: epiphany-browser
Version: 3.18.0-1
Severity: normal

Dear Maintainer,

Please find attached a patch changing the command executed
for variable substitution in of branding.conf.in debian/rules.
This will keep the original file in place, allowing to rebuild
without having to check out the file from svn again.

Jérémy
--- epiphany-3.18.0/debian/rules.old	2015-10-10 10:12:24.716438919 +0200
+++ epiphany-3.18.0/debian/rules	2015-10-10 10:16:28.467707332 +0200
@@ -26,7 +26,7 @@
 		&& mv epiphany-browser.sh epiphany-browser
 
 binary-post-install/epiphany-browser-data::
-	sed -i s/@PACKAGEVERSION@/$(DEB_VERSION)/ debian/branding.conf.in
-	sed -i s/@DISTROID@/`lsb_release -is`/ debian/branding.conf.in
-	sed -i s/@DISTROVERSION@/`lsb_release -rs`/ debian/branding.conf.in \
-		&& mv debian/branding.conf.in debian/epiphany-browser-data/usr/share/epiphany-browser/branding.conf
+	sed -e s/@PACKAGEVERSION@/$(DEB_VERSION)/ \
+	    -e s/@DISTROID@/`lsb_release -is`/ \
+	    -e s/@DISTROVERSION@/`lsb_release -rs`/ debian/branding.conf.in \
+	    debian/branding.conf.in > debian/epiphany-browser-data/usr/share/epiphany-browser/branding.conf

Reply via email to