Commit 2789c03a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: fix move_to_opt for PRODUCTCUR

parent 97f6c06a
...@@ -79,7 +79,8 @@ move_to_opt() ...@@ -79,7 +79,8 @@ move_to_opt()
{ {
local from="$*" local from="$*"
if [ -z "$from" ] ; then if [ -z "$from" ] ; then
from="/usr/share/$PRODUCT" from="/usr/share/$PRODUCTCUR"
[ -d "$BUILDROOT$from" ] || from="/usr/share/$PRODUCT"
[ -d "$BUILDROOT$from" ] || from="/usr/lib/$PRODUCT" [ -d "$BUILDROOT$from" ] || from="/usr/lib/$PRODUCT"
fi fi
mkdir -p $BUILDROOT$PRODUCTDIR/ mkdir -p $BUILDROOT$PRODUCTDIR/
......
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