[sagemath] 02/02: Fix the recipe for d/control: don't clobber the doc.control inputs

Ximin Luo infinity0 at debian.org
Sat Dec 3 13:22:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit 05215f2a9ff1877a868e9dd93ba8e5b4c6e117af
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sat Dec 3 14:21:56 2016 +0100

    Fix the recipe for d/control: don't clobber the doc.control inputs
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0f1aea7..2138815 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ binary build clean install: debian/control
 
 debian/control: debian/control.in $(DOCS_CONTROL)
 	cat $^ > "$@"
-	sed -e '/RUNTIME_DEPENDS/ {' -e 'r debian/control.runtime-depends' -e 'd' -e '}' < "$<" > "$@"
+	sed -i -e '/RUNTIME_DEPENDS/ {' -e 'r debian/control.runtime-depends' -e 'd' -e '}' "$@"
 
 debian/sagemath-doc-%.control: debian/sagemath-doc-LANG.control.in debian/rules
 	sed -e "s/LANGUAGE/$$(debian/lang.py $*)/g" -e 's/LANG/$*/g' < "$<" > "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list