1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add slashes at the end of directory names to make ddclient actually run.

This commit is contained in:
Dirk Froemberg 2001-08-26 22:28:39 +00:00
parent 44b1c1aa8d
commit e84fc3013c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46943
4 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ddclient
PORTVERSION= 3.5.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://burry.ca:4141/ddclient/

View File

@ -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 = '';

View File

@ -7,6 +7,7 @@
PORTNAME= ddclient
PORTVERSION= 3.5.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://burry.ca:4141/ddclient/

View File

@ -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 = '';