SVN: toys/tools/cleanbuild/addbr
sparky
sparky at pld-linux.org
Thu Jun 3 14:58:50 CEST 2010
Author: sparky
Date: Thu Jun 3 14:58:50 2010
New Revision: 11498
Modified:
toys/tools/cleanbuild/addbr
Log:
- allow full path to spec file
Modified: toys/tools/cleanbuild/addbr
==============================================================================
--- toys/tools/cleanbuild/addbr (original)
+++ toys/tools/cleanbuild/addbr Thu Jun 3 14:58:50 2010
@@ -16,7 +16,9 @@
warn "Adding: $add\n";
-my $file = "$ENV{HOME}/rpm/packages/$fname/$fname.spec";
+my $file = $fname;
+$file = "$ENV{HOME}/rpm/packages/$fname/$fname.spec"
+ unless -r $file;
-r $file or die;
open FILE, "<", $file;
More information about the pld-cvs-commit
mailing list