Permalink
Browse files

create_addon: quoting $PKG_ARCH

  • Loading branch information...
vpeter4 committed Feb 27, 2013
1 parent 8d808be commit 6dd213329aa10067c05a8f9f410cda5f612fd4c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/create_addon
View
@@ -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

0 comments on commit 6dd2133

Please sign in to comment.