summaryrefslogtreecommitdiff
path: root/tools/create_fedora_source.sh
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-03-04 17:33:15 +0100
committerhwspeedy <ns@bigbear.dk>2024-03-04 17:33:15 +0100
commitd86b5c73d5be2d05f4258f76eb74b7269327bc7d (patch)
tree878a5e650a9925b802f8f5d623ef340f736166d3 /tools/create_fedora_source.sh
parent16b5b72b1c2e66009c25b1fd06488bee64af5fb7 (diff)
PACKAGING debian source working
Diffstat (limited to 'tools/create_fedora_source.sh')
-rwxr-xr-xtools/create_fedora_source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create_fedora_source.sh b/tools/create_fedora_source.sh
index 3f5cba28..e6f851f5 100755
--- a/tools/create_fedora_source.sh
+++ b/tools/create_fedora_source.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-VERSION=2.0.12
+VERSION=$(cat ../CMakeLists.txt |grep set\(HARDINFO2_VERSION|cut -d '"' -f 2)
cd ..
rm -rf build
yum -y remove hardinfo