fix: improve filecheck

This commit is contained in:
th33xitus 2022-02-11 20:29:46 +01:00
parent cee54128cf
commit b18de05a8a
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ setup_simulavr(){
}
build_simulavr(){
[ -d ~/simulavr/build ] && return
file="${HOME}/simulavr/build/pysimulavr/_pysimulavr.*.so"
[ "$(ls "$file" 2> /dev/null)" ] && return
echo "##### Building Simulavr ..."
cd ~/simulavr || exit 1
make clean && make python && make build