Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dequis/purple-facebook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-07-07 01:48:35 +0300
committerjgeboski <jgeboski@gmail.com>2015-07-07 03:15:15 +0300
commitb9c605e6e58defde6cd337aac087a9671101807c (patch)
treeceb08a87e2ae7e8f9909429449137626af6f297a /update.sh
parente8b2942c12ecfe4eecb85cbbc8a0a79b4013430d (diff)
Implemented better version handling
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/update.sh b/update.sh
index 79d9c2c..151ed3c 100755
--- a/update.sh
+++ b/update.sh
@@ -12,10 +12,7 @@ test -z "$srcdir" && srcdir=$(dirname "$0")
test -z "$srcdir" && srcdir=.
cd "$srcdir"
-
-if test -z "$REVISION"; then
- REVISION=$(head -n18 configure.ac | tail -n1 | tr -d '[ ],')
-fi
+REVISION=$(cat VERSION)
if ! test -d .pidgin/.hg; then
rm -rf .pidgin