Just add /usr/local/bin to path instead of symlink

This commit is contained in:
Riccardo Schirone 2020-12-09 16:44:25 +01:00 committed by Riccardo Schirone
parent 21175fa26b
commit 8f8a074de0

View file

@ -27,12 +27,9 @@ tasks:
ninja -C build install
- unittest: |
cd rizin
export PATH=${HOME}/bin:${PATH}
export PATH=${HOME}/bin:/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=${HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}
# OpenBSD does not have a "python3" command by default
# but a test needs it.
ln -s /usr/local/bin/python3 ${HOME}/bin/python3
# Workaround until the feature request is solved
# https://todo.sr.ht/~sircmpwn/builds.sr.ht/274
ln -s ${HOME}/rizin-testbins test/bins
@ -40,12 +37,9 @@ tasks:
ninja -C build test
- test: |
cd rizin
export PATH=${HOME}/bin:${PATH}
export PATH=${HOME}/bin:/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=${HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}
# OpenBSD does not have a "python3" command by default
# but a test needs it.
ln -s /usr/local/bin/python3 ${HOME}/bin/python3
# Workaround until the feature request is solved
# https://todo.sr.ht/~sircmpwn/builds.sr.ht/274
ln -s ${HOME}/rizin-testbins test/bins