From dae7aef7375fc36c3143d32d9a2f2e6ef9d3d678 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 26 Sep 2017 10:25:04 +0200 Subject: [PATCH] tools/repo-tool: fix test for projects with devices Signed-off-by: Matthias Reichl --- tools/repo-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/repo-tool b/tools/repo-tool index 867fd41a56..dda167f96c 100755 --- a/tools/repo-tool +++ b/tools/repo-tool @@ -69,7 +69,7 @@ update_addons_xml() { touch_addons_xml() { for PROJECT in $(ls -1 projects); do - if [ -p "$projects/$PROJECT/devices" ]; then + if [ -d "projects/$PROJECT/devices" ]; then for DEVICE in $(ls -1 projects/$PROJECT/devices); do for archfile in projects/$PROJECT/devices/$DEVICE/linux/linux.*.conf; do ARCH=`echo $archfile | sed -n '$s/\.conf//;$s/.*\.//p'`