summaryrefslogtreecommitdiff
path: root/update-makefiles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-makefiles.sh')
-rwxr-xr-xupdate-makefiles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-makefiles.sh b/update-makefiles.sh
index 051e658534..842640f042 100755
--- a/update-makefiles.sh
+++ b/update-makefiles.sh
@@ -6,7 +6,7 @@ if [ ! -d hardware/interfaces ] ; then
fi
packages=$(pushd hardware/interfaces > /dev/null; \
- find -type f -name Android.mk -exec dirname {} \; | \
+ find . -type f -name Android.mk -exec dirname {} \; | \
cut -c3- | \
awk -F'/' \
'{printf("android.hardware"); for(i=1;i<NF;i++){printf(".%s", $i);}; printf("@%s\n", $NF);}'; \