SHA256
1
0
forked from pool/ccx
ccx/ccx-2.5-no-local-compare.patch

25 lines
655 B
Diff
Raw Normal View History

--- ccx_2.5/test/compare.orig 2012-10-09 20:34:02.173061299 +0200
+++ ccx_2.5/test/compare 2012-10-09 20:38:46.445068043 +0200
@@ -18,12 +18,20 @@
rm -f ${i%.inp}.dat
rm -f ${i%.inp}.frd
+# beamread test? This one is special
+#
+ if [ "$i" == "beamread.inp" ]; then
+ rm -f beamread.rin
+ rm -f beamwrite.rout
+ /usr/bin/ccx_2.5 -i beamwrite
+ mv beamwrite.rout beamread.rin
+ fi
#
# executing CalculiX and generating the .dat and
# the .frd file
#
- /usr/local/bin/ccx_2.5 ${i%.inp} >> $tempfile 2>&1
+ /usr/bin/ccx_2.5 ${i%.inp} >> $tempfile 2>&1
#
# check whether the .dat and .dat.ref files exist