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

Hotfix fixed python links

parent f0f7f31c
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