Commit 8d6efadd authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: cache arch

parent 552d2d97
......@@ -344,7 +344,12 @@ add_provides()
add_unirequires()
{
[ -n "$1" ] || return
if [ "$(epm print info -b)" = "64" ] ; then
# cache arch
[ -z "$EPMARCH" ] && EPMARCH="$(epm print info -b)"
# FIXME: use package arch, not system arch
if [ "$EPMARCH" = "64" ] ; then
local req reqs
reqs=''
for req in $* ; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment