From 8a87eea9f250a99bd8212242beeff988f26386a3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 14 Sep 2005 21:00:38 +0000 Subject: [PATCH] even more hardcoded path sillyness --- tools/fast_sums | 3 --- tools/master2tasks | 3 +-- tools/my-dpkg-scanpackages | 2 +- tools/publish_cds | 3 --- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/tools/fast_sums b/tools/fast_sums index 70dbf8ef..1501d6b3 100755 --- a/tools/fast_sums +++ b/tools/fast_sums @@ -1,7 +1,4 @@ #! /usr/bin/perl -w - eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' - if 0; #$running_under_some_shell - # Copyright (c) 2002 Philip Hands # See the README file for the license diff --git a/tools/master2tasks b/tools/master2tasks index 0bde7f42..8f139911 100755 --- a/tools/master2tasks +++ b/tools/master2tasks @@ -13,11 +13,10 @@ my $codename = $ENV{'CODENAME'}; my $basedir = $ENV{'BASEDIR'}; my @archs = qw(alpha arm i386 m68k powerpc sparc); my $master = "$basedir/data/$codename/master"; -my $slice = "/usr/bin/slice"; # Creating master.* files chdir $ENV{'TDIR'}; -system "$slice $master"; +system "slice $master"; # Loop over all archs my $arch; diff --git a/tools/my-dpkg-scanpackages b/tools/my-dpkg-scanpackages index 146e91a7..aaf9c07d 100755 --- a/tools/my-dpkg-scanpackages +++ b/tools/my-dpkg-scanpackages @@ -174,7 +174,7 @@ sub writelist { @samemaint=(); if ($override =~ /\.gz$/) { -open(O, "/bin/zcat $override|") +open(O, "zcat $override|") or die "Couldn't open override file $override: $!\n"; } else { open(O, $override) diff --git a/tools/publish_cds b/tools/publish_cds index b60c877e..19640034 100755 --- a/tools/publish_cds +++ b/tools/publish_cds @@ -1,7 +1,4 @@ #! /usr/bin/perl -w - eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' - if 0; #$running_under_some_shell - # $Id$ # Copyright (c) 2002 Philip Hands