summaryrefslogtreecommitdiffstats
path: root/tools/extract-api.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/extract-api.sh')
-rwxr-xr-xtools/extract-api.sh2
1 files changed, 1 insertions, 1 deletions
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