mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
20 lines
687 B
Text
20 lines
687 B
Text
--- algotutor.orig Tue Apr 12 21:35:39 2005
|
|
+++ algotutor Wed Apr 13 11:50:11 2005
|
|
@@ -4,7 +4,7 @@
|
|
|
|
use strict;
|
|
use Getopt::Std;
|
|
-use lib '/usr/share/perl5/algotutor';
|
|
+use lib '!!PREFIX!!/lib/perl5/site_perl/5.8.6/algotutor';
|
|
|
|
BEGIN {
|
|
my ($path) = $0 =~ m#(.*/)#;
|
|
@@ -33,7 +33,7 @@
|
|
dynprog($opts{a});
|
|
}
|
|
|
|
-die "need exactly one data file. Example:\n\talgotutor -a bst /usr/share/algotutor/data/countries.gr\n"
|
|
+die "need exactly one data file. Example:\n\talgotutor -a bst !!PREFIX!!/share/algotutor/data/countries.gr\n"
|
|
unless $#ARGV == 0;
|
|
$dfn = $ARGV[0];
|
|
die "cannot read data file '$dfn'.\nDoes it exist and do you have read permissions?\n" unless -r $dfn;
|