Commit c5851d51 by Thanassis Tsiodras

Requested by Jerome: Add a '--unstable' option that checks out the remote…

Requested by Jerome: Add a '--unstable' option that checks out the remote masters of all submodules.
parent b38a4d66
#!/bin/bash
git pull || exit 1
git submodule init || exit 1
git submodule update || exit 1
if [ -z "$1" -o "$1" == "--stable" ] ; then
git submodule init || exit 1
git submodule update || exit 1
else
git submodule | awk '{print $2}' | while read FOLDER ; do
cd "$FOLDER" || exit 1
git checkout master || exit 1
git pull || exit 1
cd ..
done
fi
exit 0
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export DISABLE_TASTE_BANNER=1
for INSTALL_SCRIPT in install/[0-9]*sh ; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment