blob: 25d0137696eb02fe1d433d635cbd070baf826cf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
MOD=CH_2
if [ ! -f $MOD/blib/lib/$MOD.pm -o ! -f $MOD/blib/arch/auto/$MOD/$MOD.so ]
then
cat <<EOD
Instructions
============
The module $MOD needs to be built first. Follow these steps:
\$ cd $MOD
\$ perl Makefile.PL
\$ make
Afterwards call "$0 x" (from this directory) to calculate the error
function erf(x) from the C math library.
EOD
exit 1
fi
perl -I$MOD/blib/lib -I$MOD/blib/arch/auto/$MOD -M$MOD=:all \
-E "say erf shift" -- $1
|