fix: variants fix
This commit is contained in:
@@ -692,7 +692,7 @@ function mod_install() {
|
|||||||
if [[ ${#filtered_dirs[@]} -gt 1 ]]; then
|
if [[ ${#filtered_dirs[@]} -gt 1 ]]; then
|
||||||
echo -e "Multiple mod variants found for mod ${mod_name}." >&2
|
echo -e "Multiple mod variants found for mod ${mod_name}." >&2
|
||||||
for i in "${!filtered_dirs[@]}"; do
|
for i in "${!filtered_dirs[@]}"; do
|
||||||
echo "$((i + 1)). $(basename ${filtered_dirs[$i]})" >&2
|
echo "$((i + 1)). $(basename "${filtered_dirs[$i]}")" >&2
|
||||||
done
|
done
|
||||||
|
|
||||||
# prompt user to choose
|
# prompt user to choose
|
||||||
|
|||||||
Reference in New Issue
Block a user