[med-svn] [Git][med-team/bio-vcf][master] Fixing the issue with missing VERSION file.
Andrius Merkys
gitlab at salsa.debian.org
Thu Jan 28 14:38:35 GMT 2021
Andrius Merkys pushed to branch master at Debian Med / bio-vcf
Commits:
cd918a04 by Andrius Merkys at 2021-01-28T09:38:07-05:00
Fixing the issue with missing VERSION file.
- - - - -
3 changed files:
- + debian/install
- + debian/patches/series
- + debian/patches/version.patch
Changes:
=====================================
debian/install
=====================================
@@ -0,0 +1 @@
+VERSION usr/share/bio-vcf
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+version.patch
=====================================
debian/patches/version.patch
=====================================
@@ -0,0 +1,11 @@
+--- a/bin/bio-vcf
++++ b/bin/bio-vcf
+@@ -11,7 +11,7 @@
+ gempath = File.dirname(File.dirname(__FILE__))
+ $: << File.join(gempath,'lib')
+
+-VERSION_FILENAME=File.join(gempath,'VERSION')
++VERSION_FILENAME='/usr/share/bio-vcf/VERSION'
+ version = File.new(VERSION_FILENAME).read.chomp
+
+ require 'bio-vcf'
View it on GitLab: https://salsa.debian.org/med-team/bio-vcf/-/commit/cd918a04ea4acffcea61e7fb9e23a465b5e0ab59
--
View it on GitLab: https://salsa.debian.org/med-team/bio-vcf/-/commit/cd918a04ea4acffcea61e7fb9e23a465b5e0ab59
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210128/0e30e1bd/attachment.html>
More information about the debian-med-commit
mailing list