diff options
author | PA4WDH | 2024-07-25 17:44:11 +0200 |
---|---|---|
committer | PA4WDH | 2024-07-25 17:44:11 +0200 |
commit | 88ee89d58bb1acc7543a444daca6ad4061e06669 (patch) | |
tree | 0252ec3ae1734e0728988f3ac7bae7df6f1be210 /generate_version_h.sh | |
parent | Add ebuild for version 0.4 (diff) | |
download | cputemp2maxfreq-88ee89d58bb1acc7543a444daca6ad4061e06669.tar.gz cputemp2maxfreq-88ee89d58bb1acc7543a444daca6ad4061e06669.tar.bz2 cputemp2maxfreq-88ee89d58bb1acc7543a444daca6ad4061e06669.zip |
Fix generate_version_h.sh
Diffstat (limited to 'generate_version_h.sh')
-rwxr-xr-x | generate_version_h.sh | 2 |
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" ] |