Merge pull request #2039 from HiassofT/le9-repo-tool

repo tool: fixes for DEVICE support
This commit is contained in:
Christian Hewitt 2017-09-28 08:49:53 +04:00 committed by GitHub
commit 139833fa2c

View File

@ -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'`