summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xeasy_e17.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/easy_e17.sh b/easy_e17.sh
index ca33b9f..80fcfc5 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -944,7 +944,7 @@ function run_command ()
function find_local_path ()
{
name=$1
- path=$(find $src_path -maxdepth 5 -type d -name $pkg | grep -v -E "^${src_path}$" | grep -v -E '$ignore_dirs_re' | \
+ path=$(find $src_path -maxdepth 5 -type d -name $pkg | grep -v -E "^${src_path}$" | grep -v -E "$ignore_dirs_re" | \
while read line; do echo `echo $line | wc -c` $line; done | sort -n | head -n 1 | cut -d " " -f 2)
if [ "$path" ]; then echo "$path"; fi
}