Package: python-defaults
Version: 2.4.3-11
Severity: minor

the debian/rules file has a few instances where it runs commands
ignoring their exit status.


--- python-defaults-2.4.3/debian/rules  2006-08-05 17:55:55.000000000 +0000
+++ rules       2006-11-07 19:46:15.280391866 +0000
@@ -115,12 +115,12 @@
 
        cd faq && \
        for p in *.ht; do \
-         p=`basename $$p .ht`; \
-         echo $(rst2html) $$p.ht $$p.html; \
-         awk 'NR > 2' $$p.ht > $$p.ht2; \
-         $(rst2html) $$p.ht2 $$p.html; \
-         mv $$p.html ../debian/python/usr/share/doc/python/faq/; \
-         rm -f $$p.ht2; \
+         p=`basename $$p .ht` && \
+         echo $(rst2html) $$p.ht $$p.html && \
+         awk 'NR > 2' $$p.ht > $$p.ht2 && \
+         $(rst2html) $$p.ht2 $$p.html && \
+         mv $$p.html ../debian/python/usr/share/doc/python/faq/ && \
+         rm -f $$p.ht2 || exit 1; \
        done
        mv debian/python/usr/share/doc/python/faq/FAQ.html \
                debian/python/usr/share/doc/python/

Maybe you want to replace those semicolons with && in a few places.

Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to