[Pkg-octave-commit] rev 701 - trunk/utils

Rafael Laboissiere rafael at costa.debian.org
Tue Aug 15 20:29:44 UTC 2006


Author: rafael
Date: 2006-08-15 20:29:43 +0000 (Tue, 15 Aug 2006)
New Revision: 701

Modified:
   trunk/utils/svn-commit-version
Log:
Initialize $trunkname when no --package option is given


Modified: trunk/utils/svn-commit-version
===================================================================
--- trunk/utils/svn-commit-version	2006-08-15 20:28:45 UTC (rev 700)
+++ trunk/utils/svn-commit-version	2006-08-15 20:29:43 UTC (rev 701)
@@ -5,6 +5,7 @@
 (my $prog = $0) =~ s:.*/::;
 
 my $pkgname;
+my $trunkname;
 my $version;
 my $dry_run = 0;
 
@@ -61,6 +62,9 @@
   }
 }
 
+defined $trunkname 
+  or $trunkname = $pkgname;
+
 foreach my $d ("$trunkdir/$trunkname", "$tagsdir/$pkgname") {
   dieif ((not -d $d), "Directory $d/$pkgname does not exist");
 }




More information about the Pkg-octave-commit mailing list