Skip to content
Snippets Groups Projects
Commit ef7f61b9 authored by Aleksandr Vodianov's avatar Aleksandr Vodianov
Browse files

Merge branch 'hotfix-fixed_python_links' into 'master'

Hotfix fixed python links

See merge request cellframe/prod_build_cellframe-node!23
parents f0f7f31c 1886d9cc
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,9 @@ DAP_CFG="$DAP_PREFIX/etc/$DAP_APP_NAME.cfg" ...@@ -12,9 +12,9 @@ DAP_CFG="$DAP_PREFIX/etc/$DAP_APP_NAME.cfg"
#fixed link with python library #fixed link with python library
BUILD_PYTHON_VERSION=/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0 BUILD_PYTHON_VERSION=/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
STANDART_PYTHON_LIB=$(ls /usr/lib/x86_64-linux-gnu | grep "libpython3.*.so.1.0" | cut -d" " -f1 | head -n1)
[ -h $BUILD_PYTHON_VERSION ] && rm $BUILD_PYTHON_VERSION [ -h $BUILD_PYTHON_VERSION ] && rm $BUILD_PYTHON_VERSION
STANDART_PYTHON_LIB=$(ls /usr/lib/x86_64-linux-gnu | grep "libpython3.*.so.1.0" | cut -d" " -f1 | head -n1)
[ -e $BUILD_PYTHON_VERSION ] || ln -sf /usr/lib/x86_64-linux-gnu/$STANDART_PYTHON_LIB /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0 [ -e $BUILD_PYTHON_VERSION ] || ln -sf /usr/lib/x86_64-linux-gnu/$STANDART_PYTHON_LIB /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment