[med-svn] [dnaclust] 01/01: Work on shell scripts

Andreas Tille tille at debian.org
Sat Feb 1 16:57:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository dnaclust.

commit 39ee0986e5a496312254dfa28ff87765233276a4
Author: Andreas Tille <tille at debian.org>
Date:   Sat Feb 1 17:57:06 2014 +0100

    Work on shell scripts
---
 debian/patches/fix_shel_path.patch | 12 ++++++++++++
 debian/patches/series              |  1 +
 debian/rules                       |  6 +++++-
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/debian/patches/fix_shel_path.patch b/debian/patches/fix_shel_path.patch
new file mode 100644
index 0000000..d80d107
--- /dev/null
+++ b/debian/patches/fix_shel_path.patch
@@ -0,0 +1,12 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 01 Feb 2014 17:10:29 +0100
+Description: Fix path to shell
+
+--- a/generate_test_clusters.sh
++++ b/generate_test_clusters.sh
+@@ -1,4 +1,4 @@
+-#! /usr/bin/sh
++#!/bin/bash
+ 
+ 
+ for test_name in small_test.fna test_600k.fna ; do 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cbbfb96
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_shel_path.patch
diff --git a/debian/rules b/debian/rules
index 969156e..587cb01 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@
 #DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
 #VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 #DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 #DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
 #GIT_TAG        := $(subst ~,_,$(VERSION))
 
@@ -19,6 +19,10 @@
 %:
 	dh $@
 
+override_dh_install:
+	dh_install
+	prename 's/\.sh//' $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/*
+
 get-orig-source:
 	uscan --verbose --repack
 

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/dnaclust.git



More information about the debian-med-commit mailing list