summaryrefslogtreecommitdiffstats
path: root/opkg
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-09 09:03:20 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-09 09:03:20 (EST)
commit94dec7ed7a605e531a5779901adf427996ae19ff (patch)
tree3308803754c35715a1a20d96298bf12ce1ff708b /opkg
parent0a25431733707467bfda955e7b5688c1f0e6bc0c (diff)
opkg: Prefix cat command with busybox path
Diffstat (limited to 'opkg')
-rwxr-xr-xopkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/opkg b/opkg
index 33ec19f..c9f7052 100755
--- a/opkg
+++ b/opkg
@@ -74,7 +74,8 @@ main()
fi
set -- "${@}" \
--add-arch all:100 \
- --add-arch "$(cat /etc/proteanos_arch):50" \
+ --add-arch "$("${BB}" cat \
+ /etc/proteanos_arch):50" \
--add-arch src:100
first_arg=false
elif [ -n "${arch_arg}" ]; then
@@ -120,7 +121,6 @@ main()
fi
save_bb
-
if /usr/bin/opkg-cl "${@}"; then
unsave_bb
return 0