mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
tools/repo-tool: fix test for projects with devices
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
195c4b164e
commit
dae7aef737
@ -69,7 +69,7 @@ update_addons_xml() {
|
|||||||
|
|
||||||
touch_addons_xml() {
|
touch_addons_xml() {
|
||||||
for PROJECT in $(ls -1 projects); do
|
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 DEVICE in $(ls -1 projects/$PROJECT/devices); do
|
||||||
for archfile in projects/$PROJECT/devices/$DEVICE/linux/linux.*.conf; do
|
for archfile in projects/$PROJECT/devices/$DEVICE/linux/linux.*.conf; do
|
||||||
ARCH=`echo $archfile | sed -n '$s/\.conf//;$s/.*\.//p'`
|
ARCH=`echo $archfile | sed -n '$s/\.conf//;$s/.*\.//p'`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user