From: Guillem Jover Date: Mon, 24 Sep 2007 20:23:05 +0000 (+0300) Subject: dpkg-buildpackage: Do not use absolute path for 'rm' in signfile X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=038dfb57268b11dc16808ccb6d49fd53660fd5a5;p=dpkg dpkg-buildpackage: Do not use absolute path for 'rm' in signfile --- diff --git a/ChangeLog b/ChangeLog index 7fbb7c9a..44a79668 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-24 Guillem Jover + + * scripts/dpkg-buildpackage.pl (signfile): Do not use absolute path + for 'rm'. + 2007-09-24 Guillem Jover * scripts/dpkg-buildpackage.pl (usage): Fix typo diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 91a9100e..303fdd1c 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -311,7 +311,7 @@ sub signfile { system('mv', '--', "../$file.asc", "../$file") and subprocerr('mv'); } else { - system('/bin/rm', '-f', "../$file.asc") + system('rm', '-f', "../$file.asc") and subprocerr('rm -f'); } print "\n";