mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-09 00:09:55 +00:00
31 lines
531 B
Bash
Executable File
31 lines
531 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd "$DIR"
|
|
|
|
|
|
if [ -f dependencies/RGBDAcquisition/README.md ]; then
|
|
cd dependencies/RGBDAcquisition
|
|
git pull origin master
|
|
cd "$DIR"
|
|
else
|
|
echo "Could not find RGBDAcquisition, please rerun the initialize.sh script .."
|
|
fi
|
|
|
|
|
|
|
|
if [ -f dependencies/AmmarServer/README.md ]; then
|
|
echo "AmmarServer appears to exist, updating it .."
|
|
cd dependencies/AmmarServer
|
|
git pull origin master
|
|
cd "$DIR"
|
|
fi
|
|
|
|
|
|
#Now sync rest of code
|
|
cd "$DIR"
|
|
git pull origin master
|
|
|
|
|
|
exit 0
|