summaryrefslogtreecommitdiff
path: root/package/knxd/patches/patch-tools_version_sh
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2020-04-19 11:23:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-04-23 16:28:48 +0200
commit57af931c53b02cc5c308858d73489d40327fe966 (patch)
treea8dc5a864ce84bf92097d5184a73edcaf05bffb7 /package/knxd/patches/patch-tools_version_sh
parent2fb25d8bd68bee7ca4d044f170485c4bdd5791b8 (diff)
new package knxd
Signed-off-by: Joerg Seitter <adk@seitter.net>
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) )