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:
parent
44b1c1aa8d
commit
e84fc3013c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46943
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ddclient
|
||||
PORTVERSION= 3.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://burry.ca:4141/ddclient/
|
||||
|
||||
|
@ -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 = '';
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ddclient
|
||||
PORTVERSION= 3.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://burry.ca:4141/ddclient/
|
||||
|
||||
|
@ -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 = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user