summaryrefslogtreecommitdiffstats
path: root/src/opkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild')
-rw-r--r--src/opkbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 1c57869..5167563 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -89,7 +89,7 @@ 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')
# ... and there are config files and zero installable platforms, fail.
if [ -z "${platform}" ]; then
printf 'opkbuild: Error: %s\n' \