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
|