Files
core/Common/3dParty/make.sh
2016-07-29 17:04:20 +03:00

24 lines
255 B
Bash
Executable File

#!/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