fix: improve filecheck
This commit is contained in:
parent
cee54128cf
commit
b18de05a8a
|
|
@ -61,7 +61,8 @@ setup_simulavr(){
|
||||||
}
|
}
|
||||||
|
|
||||||
build_simulavr(){
|
build_simulavr(){
|
||||||
[ -d ~/simulavr/build ] && return
|
file="${HOME}/simulavr/build/pysimulavr/_pysimulavr.*.so"
|
||||||
|
[ "$(ls "$file" 2> /dev/null)" ] && return
|
||||||
echo "##### Building Simulavr ..."
|
echo "##### Building Simulavr ..."
|
||||||
cd ~/simulavr || exit 1
|
cd ~/simulavr || exit 1
|
||||||
make clean && make python && make build
|
make clean && make python && make build
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue