[Pkg-apache-commits] [SCM] Debian packaging for apache2 (Apache HTTPD 2.x) branch, next, updated. 255c7dd4d4f9629e9f30181c5f4c4455b5adbe1e

Stefan Fritsch sf at sfritsch.de
Wed Mar 14 22:47:57 UTC 2012


The following commit has been merged in the next branch:
commit 255c7dd4d4f9629e9f30181c5f4c4455b5adbe1e
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Wed Mar 14 23:46:08 2012 +0100

    Fix error handling
    
    the build should abort if one of the sub-commands fails

diff --git a/debian/rules b/debian/rules
index a562ab4..1decb5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,8 +32,8 @@ clean-config-vars:
 	mv tmp_config_vars.mk config_vars.mk ) ;
 
 prepare-a2query:
-	sed 's#__SERVER_VERSION__#$(SERVER_VERSION)#; s#__MODULE_DIR__#$(MODULE_DIR)#; s#__API__#$(API)#;' debian/a2query.in > debian/a2query ; \
-	(grep -s -v apache2:API debian/apache2-bin.substvars; echo apache2:API=apache2-api-$(API)) > debian/apache2-bin.substvars.new ; \
+	sed 's#__SERVER_VERSION__#$(SERVER_VERSION)#; s#__MODULE_DIR__#$(MODULE_DIR)#; s#__API__#$(API)#;' debian/a2query.in > debian/a2query
+	(grep -s -v apache2:API debian/apache2-bin.substvars; echo apache2:API=apache2-api-$(API)) > debian/apache2-bin.substvars.new
 	mv debian/apache2-bin.substvars.new debian/apache2-bin.substvars
 
 generate-maintainer-scripts:

-- 
Debian packaging for apache2 (Apache HTTPD 2.x)



More information about the Pkg-apache-commits mailing list