summaryrefslogtreecommitdiff
path: root/math/algotutor/files/patch-algotutor
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2007-04-10 11:04:52 +0000
committerKevin Lo <kevlo@FreeBSD.org>2007-04-10 11:04:52 +0000
commitadfb5d153f8e7b175efa7f89513bd69cea90f16f (patch)
tree991bd3ed10ce207a7751b00f70d2b6efb5fad7a3 /math/algotutor/files/patch-algotutor
parentDeprecate. (diff)
Update to 0.8.6
Notes
Notes: svn path=/head/; revision=189664
Diffstat (limited to 'math/algotutor/files/patch-algotutor')
-rw-r--r--math/algotutor/files/patch-algotutor22
1 files changed, 11 insertions, 11 deletions
diff --git a/math/algotutor/files/patch-algotutor b/math/algotutor/files/patch-algotutor
index dcc1ba0fe824..5b5fa38e9628 100644
--- a/math/algotutor/files/patch-algotutor
+++ b/math/algotutor/files/patch-algotutor
@@ -1,5 +1,5 @@
---- algotutor.orig Tue Apr 12 21:35:39 2005
-+++ algotutor Wed Apr 13 11:50:11 2005
+--- algotutor.orig Tue Apr 10 18:55:36 2007
++++ algotutor Tue Apr 10 18:56:10 2007
@@ -4,7 +4,7 @@
use strict;
@@ -9,12 +9,12 @@
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;
+@@ -58,7 +58,7 @@
+ $tab->{$algo}{run}();
+ } else {
+ # algorithms other than dynamic programming
+- 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;