From 3a276afa0a429cd78423a20027b79055b687c26f Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <ossi@kde.org>
Date: Sat, 13 Jun 2009 10:13:22 +0200
Subject: [PATCH 1/4] remove useless commands (which also happen to be bash-isms)
---
maint/version.sh | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/maint/version.sh b/maint/version.sh
index 4df9489..13cdc86 100755
a
|
b
|
src_top_dir= |
21 | 21 | |
22 | 22 | VERSION_FILE=${src_top_dir}/version.h |
23 | 23 | |
24 | | pushd ${src_top_dir} &>/dev/null |
25 | 24 | git_head=$(git rev-parse --verify HEAD 2>/dev/null) |
26 | 25 | [ -z "${git_head}" ] && exit |
27 | 26 | |
28 | 27 | new_version="$(git describe 2>/dev/null)" |
29 | 28 | [ -z "${new_version}" ] && exit |
30 | | popd &>/dev/null |
31 | 29 | |
32 | 30 | |
33 | 31 | saved_version= |