[Pkg-xfce-commits] r467 - scripts

Jani Monoses jani-guest at costa.debian.org
Tue Jan 31 15:25:45 UTC 2006


Author: jani-guest
Date: 2006-01-31 15:25:44 +0000 (Tue, 31 Jan 2006)
New Revision: 467

Modified:
   scripts/build-sources.pl
Log:
reuse *-sources.txt files's first column in build script so there's
no duplication and out of syncness with *-build.txt. The latter may be removed.


Modified: scripts/build-sources.pl
===================================================================
--- scripts/build-sources.pl	2006-01-30 15:55:56 UTC (rev 466)
+++ scripts/build-sources.pl	2006-01-31 15:25:44 UTC (rev 467)
@@ -19,11 +19,11 @@
 
 if($ARGV[0] =~ /goodies/) {
 	$debian_dirs = "../goodies";
-	$sources_file = "goodies-build.txt";
+	$sources_file = "goodies-sources.txt";
 }
 elsif($ARGV[0] =~ /desktop/) {
 	$debian_dirs = "../desktop/trunk";
-	$sources_file = "desktop-build.txt";
+	$sources_file = "desktop-sources.txt";
 }
 else {
 	print STDERR "E: Something REALLY weird happened";
@@ -39,7 +39,7 @@
 chomp $basedir;
 while(<SOURCES>) {
 	chop;
-	my $pkg = $_;
+	my ($pkg) = split(/ /);
 	chdir "$debian_dirs/$pkg";
 	system("svn-buildpackage -rfakeroot -us -uc --svn-ignore-new");
 	chdir("$basedir") or die "Cant chdir to $basedir";




More information about the Pkg-xfce-commits mailing list