Scripts/update.sh

19 lines
225 B
Bash
Executable File

#!/usr/bin/env bash
echo 'updating all components'
cd ..
for d in */; do
cd "$d"
FILE=build
if [ -f $FILE ]; then
echo 'updating componenent ' + $d
git pull
fi
cd ..
done
cd
./build.sh