projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bb3f42d
)
altosdroid: more restrictive commit no. matching
author
Mike Beattie
<mike@ethernal.org>
Thu, 25 Oct 2012 07:39:20 +0000
(20:39 +1300)
committer
Mike Beattie
<mike@ethernal.org>
Thu, 25 Oct 2012 07:39:20 +0000
(20:39 +1300)
Signed-off-by: Mike Beattie <mike@ethernal.org>
altosdroid/buildinfo.sh
patch
|
blob
|
history
diff --git
a/altosdroid/buildinfo.sh
b/altosdroid/buildinfo.sh
index afd649735d235a741f57d267864e6fe92077611d..ac97b7bd83b804fe18cfed7eecb8d106afb2307f 100755
(executable)
--- a/
altosdroid/buildinfo.sh
+++ b/
altosdroid/buildinfo.sh
@@
-24,7
+24,7
@@
describe=$(git describe --match "$version" --long --always 2>/dev/null || echo '
if [ -n "$describe" ]; then
branch=$(git branch | sed -ne 's/^\* //p')
commitdetails=$(echo $describe | sed -e "s/^$version-//")
- commitnum=$(echo $commitdetails | cut -d- -f1)
+ commitnum=$(echo $commitdetails | cut -
s -
d- -f1)
commithash=$(echo $commitdetails | cut -d- -f2)
fi