summaryrefslogtreecommitdiff
path: root/net/ddclient/files/patch-aa
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-08-26 22:28:39 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-08-26 22:28:39 +0000
commite84fc3013cd8914a59923c486f46db6faa75c313 (patch)
treec513d256399bf644230c6b1e2b6d045cc26620d8 /net/ddclient/files/patch-aa
parentUpdate to 20010827. (diff)
Add slashes at the end of directory names to make ddclient actually run.
Notes
Notes: svn path=/head/; revision=46943
Diffstat (limited to 'net/ddclient/files/patch-aa')
-rw-r--r--net/ddclient/files/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ddclient/files/patch-aa b/net/ddclient/files/patch-aa
index 3021bd1d926b..b056bf8db657 100644
--- a/net/ddclient/files/patch-aa
+++ b/net/ddclient/files/patch-aa
@@ -13,8 +13,8 @@
my $hostname = hostname();
-my $etc = ($program =~ /test/i) ? './' : '/etc/';
-my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
-+my $etc = '%%PREFIX%%/etc';
-+my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}" : "/var/tmp");
++my $etc = '%%PREFIX%%/etc/';
++my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}/" : "/var/tmp/");
my $msgs = '';
my $last_msgs = '';