aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPA4WDH2024-07-25 17:44:11 +0200
committerPA4WDH2024-07-25 17:44:11 +0200
commit88ee89d58bb1acc7543a444daca6ad4061e06669 (patch)
tree0252ec3ae1734e0728988f3ac7bae7df6f1be210
parentAdd ebuild for version 0.4 (diff)
downloadcputemp2maxfreq-88ee89d58bb1acc7543a444daca6ad4061e06669.tar.gz
cputemp2maxfreq-88ee89d58bb1acc7543a444daca6ad4061e06669.tar.bz2
cputemp2maxfreq-88ee89d58bb1acc7543a444daca6ad4061e06669.zip
Fix generate_version_h.sh
-rwxr-xr-xgenerate_version_h.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_version_h.sh b/generate_version_h.sh
index a9b39e4..84166ee 100755
--- a/generate_version_h.sh
+++ b/generate_version_h.sh
@@ -3,7 +3,7 @@
if [ -d ".git" ]
then
# If we have a git directory use that as an information source
- VERSION=`git describe --abbrev=0`
+ VERSION=`git describe --tags --abbrev=0`
HASH=`git show --format="%h" --no-patch master`
BRANCH=`git rev-parse --abbrev-ref HEAD`
elif [ "$#" = "3" ]