From 891b958e53cc913771e386efba186b3e86fc9570 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 30 Mar 2013 10:58:24 +0100 Subject: [PATCH] config/path: add support for : naming scheme for PKG_DIR variable Signed-off-by: Stephan Raue --- config/path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"