From 2dc17ffc2a00a3c1464a988caa9897176017d0af Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 5 Dec 2024 15:11:00 -0500 Subject: Some macOS support --- run | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'run') diff --git a/run b/run index 8cd3d61..162cef7 100755 --- a/run +++ b/run @@ -17,7 +17,11 @@ done log "$script_dir -- $filter" cd $script_dir -scripts="$(find ./runs -maxdepth 1 -mindepth 1 -executable -type f)" +if [[ "$(uname -s)" == "Darwin" ]]; then + scripts="$(find ./runs -maxdepth 1 -mindepth 1 -perm +111 -type f)" +else + scripts="$(find ./runs -maxdepth 1 -mindepth 1 -executable -type f)" +fi for script in $scripts; do if echo "$script" | grep -qv "$filter"; then log "filtering $script" -- cgit v1.2.3