summaryrefslogtreecommitdiff
path: root/finance/wmstock/files/patch-getquote
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 18:44:42 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 18:44:42 +0000
commit4e441aef5fd02eb946b79eeecb52e44265e96f34 (patch)
tree72f168472fcd1a8841f16cebc135cf56e932377e /finance/wmstock/files/patch-getquote
parentconverters/ruby-iconv: Use standard check for Ruby 2.0 (diff)
Rename finance/ and ftp/ patch-xy patches to reflext the files they modify.
Notes
Notes: svn path=/head/; revision=363226
Diffstat (limited to 'finance/wmstock/files/patch-getquote')
-rw-r--r--finance/wmstock/files/patch-getquote28
1 files changed, 28 insertions, 0 deletions
diff --git a/finance/wmstock/files/patch-getquote b/finance/wmstock/files/patch-getquote
new file mode 100644
index 000000000000..2cd644f1a901
--- /dev/null
+++ b/finance/wmstock/files/patch-getquote
@@ -0,0 +1,28 @@
+--- getquote Sun May 14 13:28:49 2000
++++ getquote.new Sat May 20 01:37:30 2000
+@@ -1,6 +1,6 @@
+ #!/usr/bin/perl
+
+- $wget_loc = "wget";
++ $wget_loc = "fetch";
+
+ # used to have some "which" here, replaced it..
+
+@@ -77,7 +77,7 @@
+ #
+
+ $tempfile = "stock.tmp.$$";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$tempfile \"$URL\"";
++ $wget_args = " -p -o $home/.wmstock/$tempfile \"$URL\"";
+ $command = $wget_loc.$wget_args;
+ $result = system ("$wget_loc$wget_args");
+ if ($result != 0) {
+@@ -118,7 +118,7 @@
+ $version = $_[0];
+ $vtempfile = "newest";
+ $vers_url="http://www.mattfischer.com/wmstock/src/$vtempfile";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$vtempfile \"$vers_url\"";
++ $wget_args = " -p -o $home/.wmstock/$vtempfile \"$vers_url\"";
+
+ $command = $wget_loc.$wget_args;
+