Avoid hardcoded path introduced by mistake.
This commit is contained in:
parent
97739af224
commit
3e5007f99c
|
@ -15,7 +15,7 @@ my %opts;
|
||||||
getopts('cm:t', \%opts);
|
getopts('cm:t', \%opts);
|
||||||
|
|
||||||
my $logfile = ($ARGV[0] ||
|
my $logfile = ($ARGV[0] ||
|
||||||
"/skolelinux/developer/local0/ftp/tmp/woody-i386/log.list2cds");
|
"$ENV{TDIR}/$ENV{CODENAME}-$ENV{ARCH}/log.list2cds");
|
||||||
my $cdlimit = ($ARGV[1] || 1) + 1;
|
my $cdlimit = ($ARGV[1] || 1) + 1;
|
||||||
|
|
||||||
open(LOG, $logfile) || die "Unable to open $logfile";
|
open(LOG, $logfile) || die "Unable to open $logfile";
|
||||||
|
|
Loading…
Reference in New Issue