Better script
The pattern "build*/" is now excluded recursively and not only at the root. Trivial fix for master.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
|
||||
setopt extendedglob
|
||||
|
||||
ls -1 ^build*/**/(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out)(.x) 2>/dev/null || exit 0
|
||||
ls -1 ((^build*)/)#/(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out)(.x) 2>/dev/null || exit 0
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user