summaryrefslogtreecommitdiff
path: root/package/knxd/patches/patch-tools_version_sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/knxd/patches/patch-tools_version_sh')
-rw-r--r--package/knxd/patches/patch-tools_version_sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/knxd/patches/patch-tools_version_sh b/package/knxd/patches/patch-tools_version_sh
new file mode 100644
index 000000000..ff6a2f836
--- /dev/null
+++ b/package/knxd/patches/patch-tools_version_sh
@@ -0,0 +1,10 @@
+--- knxd-v0.14.orig/tools/version.sh 2020-04-18 16:44:30.000000000 +0200
++++ knxd-v0.14/tools/version.sh 2020-04-18 19:38:03.451807369 +0200
+@@ -1,5 +1,6 @@
+ #!/bin/sh
+-sed -ne '1s/.*(\(.*\)).*/\1/' -e '1s/-1$//' -e '1p' debian/changelog | tr -d "\n"
++#sed -ne '1s/.*(\(.*\)).*/\1/' -e '1s/-1$//' -e '1p' debian/changelog | tr -d "\n"
++echo "0.14"
+ test -d .git || exit
+ git=$(git rev-parse --short HEAD)
+ lgit=$(git rev-parse --short $(git rev-list -1 HEAD debian/changelog) )