File: paths_in_scripts.patch

package info (click to toggle)
drop-seq 3.0.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 174,608 kB
  • sloc: java: 51,214; sh: 526; xml: 271; makefile: 34
file content (21 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Putting Debian paths for the jars in .sh executables
Author: Pierre Gruet <pgtdebian@free.fr>
Forwarded: not-needed
Last-Update: 2021-02-12

--- a/src/scripts/defs.sh
+++ b/src/scripts/defs.sh
@@ -50,12 +50,7 @@
     fi
 }
 
-# Note: `"$thisdir"` might be a symbolic link to a directory. Appending a final
-# `/` ensures the link to be resolved in such a case and is a no-op otherwise.
-# Without this (or instructng `find` to follow symbolic links by passing the
-# `-L` flag), `find` would fail to detect the Picard `*.jar` file if this
-# script is called via a directory symlink.
-picard_jar=$(find "$thisdir"/ -name picard\*.jar)
+picard_jar="/usr/share/java/picard.jar"
 
 num_picard_jars=$(wc -w << EOF
 $picard_jar