fix: run -l command now shows all runs

This commit is contained in:
2025-07-07 00:29:45 +02:00
parent dcd7ea2a1e
commit 8473de5819

3
run
View File

@@ -58,7 +58,8 @@ while [[ $# -gt 0 ]]; do
elif [[ "$1" == "-l" ]]; then
debug "Printing all scripts"
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
log `find $script_dir/runs -mindepth 2 -maxdepth 2 -executable | sort`
debug $script_dir
log "$(find $script_dir/runs -mindepth 2 -maxdepth 2 -executable | sort)"
exit 0
else
filter="$1"