mirror of
https://github.com/fail0verflow/mini.git
synced 2025-02-20 05:22:42 +01:00
fix describe scripts
negative effects: changes to, say, skyeye-starlet will also change the the git version thing. we should create a seperate repository for each bootmii part.
This commit is contained in:
parent
cce6145e15
commit
5f4015344e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Check for git and a git repo.
|
# Check for git and a git repo.
|
||||||
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
|
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
|
||||||
comm=`git log --pretty=oneline -n1 ../mini | awk ' { print $1 }'`
|
comm=`git log --pretty=oneline -n1 | awk ' { print $1 }'`
|
||||||
if tagver=`git describe --exact-match --match bootmii-\* $comm 2>/dev/null`; then
|
if tagver=`git describe --exact-match --match bootmii-\* $comm 2>/dev/null`; then
|
||||||
printf "%s" "BootMii v"`printf "%s" $tagver | awk '{ sub (/bootmii-/, ""); print;}'`
|
printf "%s" "BootMii v"`printf "%s" $tagver | awk '{ sub (/bootmii-/, ""); print;}'`
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user