From 3e5007f99c6e71e665f6a2b4241b3dbde5015dbe Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 26 Sep 2006 16:35:20 +0000 Subject: [PATCH] Avoid hardcoded path introduced by mistake. --- tools/get_diskusage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get_diskusage.pl b/tools/get_diskusage.pl index e7ca5da0..5dc82a12 100755 --- a/tools/get_diskusage.pl +++ b/tools/get_diskusage.pl @@ -15,7 +15,7 @@ my %opts; getopts('cm:t', \%opts); 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; open(LOG, $logfile) || die "Unable to open $logfile";