openbsd-ports/misc/openbabel/patches/patch-test_cml_sh
ajacoutot 1504961432 - update to openbabel-2.2.0
- gcc4 is needed to build this now

* improved force fields and coordinate generation, conformer searching,
enhanced plugins including molecular descriptors, filters, and
command-line transformations
* many formats improved or added, including CIF, mmCIF, Gaussian cube,
PQR, OpenDX cubes, and more
* improved developer API and scripting support
* many, many bugfixes
2008-08-20 16:08:11 +00:00

19 lines
528 B
Plaintext

$OpenBSD: patch-test_cml_sh,v 1.2 2008/08/20 16:08:11 ajacoutot Exp $
--- test/cml.sh.orig Sat Jun 21 15:58:04 2008
+++ test/cml.sh Tue Aug 19 13:19:23 2008
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# test Open Babel with CML, if the CML test suite exists
builddir=`pwd`
@@ -15,7 +15,7 @@ fi
echo
echo "# Testing CML support..."
if [ -f $cmltestdir/test.sh ]; then
- (cd $cmltestdir; source test.sh 2>/dev/null)
+ (cd $cmltestdir; ./test.sh 2>/dev/null)
else
echo "1..0 # skipping - CML test set not found"
fi