mirror of https://github.com/CGAL/cgal
Fixed bash error when folder is empty
This commit is contained in:
parent
bd0f6111dd
commit
407d895703
|
|
@ -115,6 +115,7 @@ if [ \$# -ne 0 ] ; then
|
|||
compile_and_run \$file
|
||||
done
|
||||
else
|
||||
echo "Run all tests."
|
||||
EOF
|
||||
for file in `ls *.C *.cpp 2>/dev/null | sort` ; do
|
||||
if [ -n "`grep '\<main\>' $file`" ] ; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue