Commit 92a24179 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: fix unigine-heaven executable link

parent 8d6efadd
...@@ -26,8 +26,6 @@ done ...@@ -26,8 +26,6 @@ done
pack_dir $PRODUCTDIR pack_dir $PRODUCTDIR
pack_dir $PRODUCTDIR/bin pack_dir $PRODUCTDIR/bin
add_bin_link_command $PRODUCT /usr/bin/heaven
#if epm assure patchelf ; then #if epm assure patchelf ; then
#for i in *_x64 lib*_x64.so* ; do #for i in *_x64 lib*_x64.so* ; do
# a= patchelf --set-rpath '$ORIGIN' $i # a= patchelf --set-rpath '$ORIGIN' $i
...@@ -35,14 +33,16 @@ add_bin_link_command $PRODUCT /usr/bin/heaven ...@@ -35,14 +33,16 @@ add_bin_link_command $PRODUCT /usr/bin/heaven
#fi #fi
mkdir -p $BUILDROOT/usr/bin mkdir -p $BUILDROOT/usr/bin
cat <<EOF >$BUILDROOT/usr/bin/heaven cat <<EOF | create_file /usr/bin/heaven
#!/bin/sh #!/bin/sh
cd $PRODUCTDIR/bin cd $PRODUCTDIR/bin
export LD_LIBRARY_PATH=./x64:\$LD_LIBRARY_PATH export LD_LIBRARY_PATH=./x64:\$LD_LIBRARY_PATH
./browser_x64 -config ../data/launcher/launcher.xml ./browser_x64 -config ../data/launcher/launcher.xml
EOF EOF
chmod a+x $BUILDROOT/usr/bin/heaven chmod a+x $BUILDROOT/usr/bin/heaven
pack_file /usr/bin/heaven
add_bin_link_command $PRODUCT /usr/bin/heaven
install_file $PRODUCTDIR/data/launcher/icon.png /usr/share/pixmaps/$PRODUCT.png install_file $PRODUCTDIR/data/launcher/icon.png /usr/share/pixmaps/$PRODUCT.png
......
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