From 038dfb57268b11dc16808ccb6d49fd53660fd5a5 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 24 Sep 2007 23:23:05 +0300 Subject: [PATCH] dpkg-buildpackage: Do not use absolute path for 'rm' in signfile --- ChangeLog | 5 +++++ scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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"; -- 2.39.5