File: shell_tricks_removed.patch

package info (click to toggle)
html2ps 1.0b7-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,208 kB
  • sloc: perl: 4,539; tcl: 1,799; sh: 38; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Raphael Hertzog <rhertzog@hrnet.fr>
Last-Update: 1999-07-24
Description: Removed shell tricks
 The packaged stopped working in 1999 due to this. This patches
 substitutes the codes which used a shell to open perl to a hashbang
 calling perl interpreter directly.

diff --git a/html2ps b/html2ps
index c941b2c..1404164 100755
--- a/html2ps
+++ b/html2ps
@@ -1,6 +1,4 @@
-: # Use perl
-eval 'exec perl -S $0 "$@"'
-  if $running_under_some_shell;
+#! /usr/bin/perl
 
 # This is html2ps version 1.0 beta7, an HTML-to-PostScript converter.
 #   Copyright (C) 1995-2010 Jan Karrman.