add check that that extension module is compiled before running example scripts
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -f pllammps.so ]
|
||||
then \
|
||||
echo "Need to compile 'pllammps.so' first for this script to work"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat > example.pl <<EOF
|
||||
use pllammps;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user