diff --git a/config/path b/config/path index 8373519692..3676539f77 100644 --- a/config/path +++ b/config/path @@ -56,7 +56,7 @@ SED="sed -i" if [ -n "$1" ]; then FOUND=0 - for DIR in `find $PACKAGES -type d -name $1 ! -wholename \*\/source\/\* 2>/dev/null` ; do + for DIR in `find $PACKAGES -type d -name $(echo $1| awk -F : '{print $1}') ! -wholename \*\/source\/\* 2>/dev/null` ; do # keep track of dirs with meta for debugging if [ -z "$ALL_DIRS" ] ; then ALL_DIRS="$DIR"