SPECS: new-cpan.sh - fail on errors
glen
glen at pld-linux.org
Thu Nov 3 21:33:02 CET 2005
Author: glen Date: Thu Nov 3 20:33:01 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fail on errors
---- Files affected:
SPECS:
new-cpan.sh (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/new-cpan.sh
diff -u SPECS/new-cpan.sh:1.3 SPECS/new-cpan.sh:1.4
--- SPECS/new-cpan.sh:1.3 Mon Sep 5 14:44:55 2005
+++ SPECS/new-cpan.sh Thu Nov 3 21:32:56 2005
@@ -1,4 +1,5 @@
#!/bin/sh
+set -e
# argument $1 can be URL, perl module name and name of .spec
uri=$(echo $1 | sed -e 's,::,-,g;s,^perl-,,;s,\.spec$,,')
pkg=$(basename $uri | sed -e 's,\(-[\.0-9]*\)\?\.tar\.gz$,,')
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/new-cpan.sh?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list