mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
create_addon: quoting $PKG_ARCH
This commit is contained in:
parent
8d808bea03
commit
6dd213329a
@ -36,7 +36,7 @@ if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -n $PKG_ARCH -a ! "$PKG_ARCH" = "any" ]; then
|
||||
if [ -n "$PKG_ARCH" -a ! "$PKG_ARCH" = "any" ]; then
|
||||
echo "$PKG_ARCH" | grep -q "$TARGET_ARCH" || exit 0
|
||||
echo "$PKG_ARCH" | grep -q "\-$TARGET_ARCH" && exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user