[Pkg-jed-commit] r618 - utils

Rafael Laboissiere rafael at alioth.debian.org
Thu Mar 29 13:50:08 CET 2007


Author: rafael
Date: 2007-03-29 12:50:07 +0000 (Thu, 29 Mar 2007)
New Revision: 618

Modified:
   utils/svn-commit-version
Log:
In subroutine run, always echo the commands before running them

Modified: utils/svn-commit-version
===================================================================
--- utils/svn-commit-version	2007-03-28 01:04:48 UTC (rev 617)
+++ utils/svn-commit-version	2007-03-29 12:50:07 UTC (rev 618)
@@ -50,11 +50,8 @@
 
 sub run {
   my $cmd = shift;
-  if ($dry_run) {
-    print "$cmd\n";
-  } else {
-    system $cmd;
-  }
+  print "$cmd\n";
+  system $cmd if not $dry_run;
 }
 
 run "svn ci --message=\"Debian release ${pkgname}_$version\" $debdir";




More information about the Pkg-jed-commit mailing list