Package: cadubi
Version: 1.3-1
Severity: normal
Tags: patch

* Incorrect perl interpreter path for debian installations
* Wrong initialization of the help file variable to /usr/bin/help.txt 


nueces...

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20-nueces
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)

Versions of packages cadubi depends on:
ii  libterm-readkey-perl          2.30-3     A perl module for simple terminal 
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

cadubi recommends no packages.

-- no debconf information
--- cadubi.orig 2007-02-26 03:23:07.000000000 -0300
+++ cadubi      2007-02-26 04:32:03.000000000 -0300
@@ -6,7 +6,7 @@
 ##     http://langworth.com/CadubiProject
 ## 
 
-eval 'exec /usr/local/stow/perl-5.8.x/bin/perl -w -S $0 ${1+"$@"}'
+eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
     if 0; # not running under some shell
 
 $VERSION = '1.3';
@@ -18,7 +18,10 @@
 # (sorry guys, i wrote this years before i had the remotest clue as to
 #  what the hell i was doing)
 use FindBin qw($Bin);
-$HELPFILE = "$Bin/help.txt";
+use FindBin qw($Script);
+
+$DOCSDIR = "$Bin/../share/$Script";
+$HELPFILE = "$DOCSDIR/help.txt";
 
 # other stuff
 $DEBUG = 0;

Reply via email to