feat(justfiles): Use find instead of ls
Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
This commit is contained in:
parent
5baf29315a
commit
b4ef20b174
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ fi
|
|||
|
||||
# Include all files in the folder if none specified
|
||||
if [[ ${#CONFIG_SELECTION[@]} == 0 ]]; then
|
||||
CONFIG_SELECTION=($(ls "${CONFIG_FOLDER}"))
|
||||
CONFIG_SELECTION=($(find "${CONFIG_FOLDER}" -mindepth 1 -maxdepth 1 -exec basename {} \;))
|
||||
fi
|
||||
|
||||
for SELECTED in "${CONFIG_SELECTION[@]}"; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue