mirror of https://github.com/CGAL/cgal
13 lines
287 B
Bash
Executable File
13 lines
287 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
setopt extendedglob nullglob
|
|
|
|
files=(((^build*)/)#(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out|bat)(.x))
|
|
#ls -1 ((^build*)/)#(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out)(.x) 2>/dev/null || exit 0
|
|
if [ ${#files[@]} -gt 0 ]; then
|
|
ls -1 "${(@)files}"
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|