From 5f4015344e6ee3afd9e36f17df28685d9c430e97 Mon Sep 17 00:00:00 2001 From: Sven Peter Date: Wed, 13 May 2009 21:15:46 +0200 Subject: [PATCH] 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. --- describesimple.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/describesimple.sh b/describesimple.sh index 5ddd37d..4a0d1a8 100755 --- a/describesimple.sh +++ b/describesimple.sh @@ -2,7 +2,7 @@ # Check for git and a git repo. 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 printf "%s" "BootMii v"`printf "%s" $tagver | awk '{ sub (/bootmii-/, ""); print;}'` else