]> err.no Git - dpkg/commitdiff
dpkg-buildpackage: Do not use absolute path for 'rm' in signfile
authorGuillem Jover <guillem@debian.org>
Mon, 24 Sep 2007 20:23:05 +0000 (23:23 +0300)
committerGuillem Jover <guillem@debian.org>
Mon, 24 Sep 2007 20:23:05 +0000 (23:23 +0300)
ChangeLog
scripts/dpkg-buildpackage.pl

index 7fbb7c9aca089391907dc1b9493a1534e39b92bb..44a79668b5ecd9943d4cc91fc5176f51c0fed5d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-24  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-buildpackage.pl (signfile): Do not use absolute path
+       for 'rm'.
+
 2007-09-24  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-buildpackage.pl (usage): Fix typo
index 91a9100e62f0559a575e85d1d148fab65fa239b3..303fdd1ccb0bd66c6f3502d10378d15a2ec9f46e 100755 (executable)
@@ -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";