From 712898a34efb1f0dcb1735e023dba2f9770c3e30 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 03 Feb 2012 13:55:18 -0500 Subject: Don't count "all" as a platform. --- (limited to 'src') 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' \ -- cgit v0.9.1