mirror of
https://github.com/vgough/encfs.git
synced 2024-12-22 06:30:48 +01:00
16 lines
241 B
Bash
16 lines
241 B
Bash
|
|
||
|
# Builds all files into bin/
|
||
|
|
||
|
[ -d "bin" ] || mkdir "bin"
|
||
|
rm -rf bin/*
|
||
|
|
||
|
find . -maxdepth 1 -type f -name '*.cpp' -exec sh compile.sh {} $1 \;
|
||
|
echo "Completed!"
|
||
|
|
||
|
files=$(ls -l bin/)
|
||
|
if [ "$files" = "total 0" ];then
|
||
|
exit 1
|
||
|
else
|
||
|
exit 0
|
||
|
fi
|