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

464860aa023e4089f4c6f108e019d66d60052581

38a9356e203c05e2aec5e346363dd2707782262b

f587c8548ff9d581ebf67082359a4e498ed45042

80af96b5cdf94fede7c357b592cd27647d68280b

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