mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Merge pull request #1967 from vpeter4/stuff
create_addon: quoting $PKG_ARCH
This commit is contained in:
commit
c76e7355c1
@ -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