diff options
author | jgeboski <jgeboski@gmail.com> | 2015-06-27 08:59:51 +0300 |
---|---|---|
committer | jgeboski <jgeboski@gmail.com> | 2015-06-27 08:59:51 +0300 |
commit | f3555951d380ba95c975fc366db5d29c7c5664ff (patch) | |
tree | 9ec3f53c7d2297e28cd1b0461be3caab8a1fb4c5 /update.sh | |
parent | 845fef6ca62e9ea476e1bd673e36372b1c91f5d3 (diff) |
update: allow overriding of the revision
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,7 +13,9 @@ test -z "$srcdir" && srcdir=. cd "$srcdir" -REV=$(head -n18 configure.ac | tail -n1 | tr -d '[ ],') +if test -z "$REVISION"; then + REVISION=$(head -n18 configure.ac | tail -n1 | tr -d '[ ],') +fi if ! test -d .pidgin/.hg; then rm -rf .pidgin @@ -21,7 +23,7 @@ if ! test -d .pidgin/.hg; then fi hg -R .pidgin -v pull -hg -R .pidgin -v update -C "$REV" +hg -R .pidgin -v update -C "$REVISION" rm -rf pidgin for FILE in $(cat MANIFEST_PIDGIN); do |