mirror of https://github.com/CGAL/cgal
Added error message
This commit is contained in:
parent
65de099a11
commit
d5f6332ecf
|
|
@ -8,6 +8,10 @@
|
||||||
# Find executable name (different on Windows and Unix)
|
# Find executable name (different on Windows and Unix)
|
||||||
[ -f ./release/polyhedron_ex_parameterization.exe ] && PARAM_APPLICATION="./release/polyhedron_ex_parameterization.exe"
|
[ -f ./release/polyhedron_ex_parameterization.exe ] && PARAM_APPLICATION="./release/polyhedron_ex_parameterization.exe"
|
||||||
[ -x ./polyhedron_ex_parameterization ] && PARAM_APPLICATION="./polyhedron_ex_parameterization"
|
[ -x ./polyhedron_ex_parameterization ] && PARAM_APPLICATION="./polyhedron_ex_parameterization"
|
||||||
|
if [[ ! -f $PARAM_APPLICATION ]] ; then
|
||||||
|
echo "Cannot find polyhedron_ex_parameterization application"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
# Find source file in data or data/extras folders
|
# Find source file in data or data/extras folders
|
||||||
[ -f data/extras/"$5".off ] && SOURCE_FILE="data/extras/"$5".off"
|
[ -f data/extras/"$5".off ] && SOURCE_FILE="data/extras/"$5".off"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue