[xmds2] 01/01: Stop the script when the hdf5 library is not found
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Sun Jan 5 22:00:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch r-import
in repository xmds2.
commit fff1d53f3b46f6458999bf6e2f36b9537c786919
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Sun Jan 5 22:57:01 2014 +0100
Stop the script when the hdf5 library is not found
---
debian/patches/r-import.patch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/patches/r-import.patch b/debian/patches/r-import.patch
index 5990890..a07a7ac 100644
--- a/debian/patches/r-import.patch
+++ b/debian/patches/r-import.patch
@@ -4,7 +4,7 @@ Last-Update: 2014-01-04
--- /dev/null
+++ xmds2-2.1.4/xpdeint/xsil2graphics2/RImport.tmpl
-@@ -0,0 +1,66 @@
+@@ -0,0 +1,67 @@
+@*
+RImport.tmpl
+
@@ -57,7 +57,8 @@ Last-Update: 2014-01-04
+tryCatch (library (hdf5),
+ error = function (e) {
+ message (e)
-+ message ("Install the hdf5 library for loading XSIL data")
++ cat ("\n")
++ stop ("Install the hdf5 library for loading XSIL data", call. = FALSE)
+ return (NA)
+ })
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git
More information about the debian-science-commits
mailing list