Files
glest-source/git_update.sh
andy5995 534d2ae466 review and minor edit to clone and build instructions
These are some minor changes I made after reviewing changes made by
@Jammyjamjamman in these commits

464860aa02

38a9356e20

f587c8548f

80af96b5cd

Jammy, I wrapped some lines. I've been told by project maintainers that
when possible, keep lines in md files less than 79 chars or so. The
files render the same when viewed through GitHub, so it's more for
readability when editing.

You'll find though there are times to break those rules. ;)

(ping #13)
2018-01-24 21:55:24 -06:00

25 lines
506 B
Bash
Executable File

#!/bin/bash
#
# git_update.sh: update the ZetaGlest source and data repos. Use this
# script if you've cloned from the master repositories, not if you're
# a fork.
#
# FIXME: there should be a way to check if this is a clone of the
# main repo, or a fork. If it's a fork, this shouldn't be run. Mentioned
# in the docs, but it would be good to have a catch in this script.
export LANG=C
cd "$(dirname $(readlink -f $0))" &&
echo $PWD
git pull &&
echo $PWD
cd ../zetaglest-data &&
git pull &&
exit 0