From: zach%zachlipton.com <> Date: Tue, 4 Sep 2001 00:58:53 +0000 (+0000) Subject: Fix for bug 98024: t/1.t should use $^X instead of hard-coded path to perl. X-Git-Tag: bugzilla-2.14.1~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58495aaee931590af5a96c0284cbd3167dc2a3f0;p=thirdparty%2Fbugzilla.git Fix for bug 98024: t/1.t should use $^X instead of hard-coded path to perl. Patch by ddkilzer@theracingworld.com (David D. Kilzer, ddk). Review by Zach Lipton (zach@zachlipton.com) no 2nd review required. --- diff --git a/t/1.t b/t/1.t index 39cdc9a15d..7e46dd49c9 100644 --- a/t/1.t +++ b/t/1.t @@ -100,7 +100,7 @@ xml.cgi #51 )); our $warnings; my $verbose = $::ENV{VERBOSE}; -$perlapp='/usr/bonsaitools/bin/perl'; +$perlapp=$^X; foreach $file (@testitems) { $file =~ s/\s.*$//; # nuke everything after the first space (#comment) next if (!$file); # skip null entries