projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b241b
)
Fix version.sh for Solaris 10
author
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 19 Apr 2012 22:52:37 +0000
(23:52 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 19 Apr 2012 22:52:37 +0000
(23:52 +0100)
./version.sh: !: not found
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
version.sh
patch
|
blob
|
history
diff --git
a/version.sh
b/version.sh
index
96416c2
..
4d7e79b
100755
(executable)
--- a/
version.sh
+++ b/
version.sh
@@
-9,9
+9,8
@@
if [ -d .git ] && tag=`git describe --tags`; then
git update-index --refresh --unmerged > /dev/null
# Does the index show uncommitted changes?
- if ! git diff-index --exit-code HEAD > /dev/null; then
+ git diff-index --exit-code HEAD > /dev/null || \
v="$v"-dirty
- fi
else
v="$v"-unknown
fi