12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #!/bin/sh
- ## Copyright (c) 2014 Minoca Corp.
- ##
- ## This file is licensed under the terms of the GNU General Public License
- ## version 3. Alternative licensing terms are available. Contact
- ## info@minocacorp.com for details. See the LICENSE file at the root of this
- ## project for complete licensing information..
- ##
- ## Script Name:
- ##
- ## git_up.sh
- ##
- ## Abstract:
- ##
- ## This script updates the source repositories for a Windows build. SRCROOT
- ## must be set.
- ##
- ## Author:
- ##
- ## Evan Green 13-May-2014
- ##
- ## Environment:
- ##
- ## Minoca (Windows) Build
- ##
- set -e
- if ! test -d $SRCROOT; then
- echo "Error: SRCROOT ($SRCROOT) not set or invalid."
- exit 1
- fi
- cd $SRCROOT/os
- pwd
- git pull
- git status
- cd $SRCROOT/tools
- pwd
- git pull
- git status
- cd $SRCROOT/third-party
- pwd
- git pull
- git status
- echo "Git update complete"
- exit 0
|