From 733a2ca1dd5ee08048eff4b50fbe5e07ee3498e1 Mon Sep 17 00:00:00 2001 From: Lionel Orry Date: Tue, 10 May 2011 03:05:31 +0800 Subject: use a cleaner way to get the include dir. Previous was buggy on Gentoo at least --- tools/extract-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/extract-api.sh b/tools/extract-api.sh index 254a693..65e09e1 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -6,7 +6,7 @@ P=$(dirname $0) # CURRENT=$P/api PREV=$P/api-prev -INCLUDE=$(pkg-config --libs ecore |gawk '{ print substr($1,3) }' | sed s/lib/include/) +INCLUDE=$(pkg-config --variable=includedir ecore) # if [ ! -d $CURRENT ]; then mkdir $CURRENT -- cgit v1.1-2-g2b99