fix (completion): use grep -E instead of egrep in gradle.completion.bash and fabric.completion.bash

pull/2168/head
Gurkirat Singh 2022-10-07 19:48:21 +05:30
parent c1e5c336cf
commit 74d53fba16
No known key found for this signature in database
GPG Key ID: BD8D9949734FDB24
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ __gradle-generate-script-cache() {
if [[ ! $(find $cache_dir/$cache_name -mmin -$cache_ttl_mins 2>/dev/null) ]]; then
# Cache all Gradle scripts
local gradle_build_scripts=$(find $project_root_dir -type f -name "*.gradle" -o -name "*.gradle.kts" 2>/dev/null | egrep -v "$script_exclude_pattern")
local gradle_build_scripts=$(find $project_root_dir -type f -name "*.gradle" -o -name "*.gradle.kts" 2>/dev/null | grep -E -v "$script_exclude_pattern")
printf "%s\n" "${gradle_build_scripts[@]}" > $cache_dir/$cache_name
fi
}