3dParty make

This commit is contained in:
Oleg Korshul
2016-07-20 17:08:18 +03:00
parent 5c6de53d11
commit b1839c91f9
2 changed files with 38 additions and 0 deletions

23
Common/3dParty/make.sh Normal file
View File

@ -0,0 +1,23 @@
#!/bin/bash
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
cd "$SCRIPTPATH"
for d in */ ; do
echo "$d"
cd "$SCRIPTPATH/$d"
if [ -f "fetch.sh" ]
then
bash "fetch.sh"
fi
if [ -f "build.sh" ]
then
bash "build.sh"
fi
cd "$SCRIPTPATH"
done