mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-20 14:06:33 +00:00
github actions shared lib fix
This commit is contained in:
1 parent
b0fb72dff2
commit
986f7446bf
4 files changed
+28
-2
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source .venv
|
||||
. .venv/bin/activate
|
||||
|
||||
# Fix for actions LD_LIBRARY_PATH env
|
||||
touch ld_fix.sh
|
||||
PYTHON_PATH=$(which python3)
|
||||
PYTHON_DIR=$(dirname $PYTHON_PATH)
|
||||
echo "export LD_LIBRARY_PATH=$PYTHON_DIR/../lib" >> ld_fix.sh
|
||||
echo "export PATH=$PYTHON_DIR:\$PATH" >> ld_fix.sh
|
||||
chmod +x ld_fix.sh
|
||||
Reference in new issue
Block a user