File: fix_install.patch

package info (click to toggle)
kraken2 2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,028 kB
  • sloc: cpp: 3,995; perl: 1,281; sh: 515; makefile: 64
file content (16 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 13 Mar 2019 15:46:40 +0100
Description: The temporary dir where to move the files for packaging is
 different from the final location.  Hardcode the final location here.

--- a/install_kraken2.sh
+++ b/install_kraken2.sh
@@ -31,7 +31,7 @@ for file in scripts/*
 do
   perl -pl -e 'BEGIN { while (@ARGV) { $_ = shift; ($k,$v) = split /=/, $_, 2; $H{$k} = $v } }'\
            -e 's/#####=(\w+)=#####/$H{$1}/g' \
-           "KRAKEN2_DIR=$KRAKEN2_DIR" "VERSION=$VERSION" \
+           "KRAKEN2_DIR=/usr/lib/kraken2" "VERSION=$VERSION" \
            < "$file" > "$KRAKEN2_DIR/$(basename $file)"
   if [ -x "$file" ]
   then