summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 902e331..a5df386 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -101,7 +101,8 @@ if [ ! -f config ]; then
# If a target platform was not specified ...
elif [ -z "${platform}" ]; then
platform=$(opkg print-architecture | \
- sed -n 's/^arch \([^ -][^ -]*\) [0-9][0-9]*$/\1/p')
+ sed -n 's/^arch \([^ -][^ -]*\) [0-9][0-9]*$/\1/p' | \
+ grep -v 'all')
# ... and there are config files and zero installable platforms, fail.
if [ -z "${platform}" ]; then
printf 'opkbuild: Error: %s\n' \