Fix find argument position

This commit is contained in:
2024-02-19 02:55:22 +01:00
parent 82ba8c1e40
commit a1aa6e5adf

View File

@@ -67,7 +67,7 @@ show_installed_repos_path() {
}
get_local_repos() {
local local_repos=( $( find ${oca_addons_install_path} -type d -mindepth 1 -maxdepth 1 -exec basename {} \; ) )
local local_repos=( $( find ${oca_addons_install_path} -mindepth 1 -maxdepth 1 -type d -exec basename {} \; ) )
echo "${local_repos[@]}"
}