File: fix_README_used_for_test.patch

package info (click to toggle)
gff2aplot 2.0-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,572 kB
  • sloc: perl: 5,378; ansic: 806; makefile: 121; javascript: 93; sh: 41
file content (17 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 10 Dec 2018 07:36:57 +0100
Description: The README file is used as shell script and one function
 is broken.  It should return basenames of *.ps files.  This is fixed here

--- a/examples/splice_sites/README
+++ b/examples/splice_sites/README
@@ -140,8 +140,7 @@ $BIN/gff2aplot.pl -v -t "DONOR + ACCEPTO
 # Preparing web images
 #
 filenames () {
-  cat << 'EOF';
-EOF
+       ls *.ps | sed 's/\.ps//'
 };
 #
 # echo "# Using \"ghostscript\" to obtain JPEG images from PS files" ;