Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3701 - branches/rpm

Subject: perfsonar development work

List archive

perfsonar: r3701 - branches/rpm


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3701 - branches/rpm
  • Date: Wed, 16 Apr 2008 09:02:23 -0400

Author: fernandes
Date: 2008-04-16 09:02:20 -0400 (Wed, 16 Apr 2008)
New Revision: 3701

Modified:
branches/rpm/package_maker.pl
Log:
Bug fix: now trimming `pwd` return value when creating file ~/.rpmmacros


Modified: branches/rpm/package_maker.pl
===================================================================
--- branches/rpm/package_maker.pl 2008-04-16 12:50:18 UTC (rev 3700)
+++ branches/rpm/package_maker.pl 2008-04-16 13:02:20 UTC (rev 3701)
@@ -448,8 +448,9 @@

sub createRpmBuildTree(){
my $currdir = `pwd`;
+ chomp($currdir);

- open( RPMMACROS, "> ~/.rpmmacros");
+ open( RPMMACROS, "> ~/.rpmmacros") or die "There was a problem opening
the file ~/.rpmmacros for writing.";
print RPMMACROS "\%_topdir $currdir/rpmbuild\n";
print RPMMACROS "\%_tmppath $currdir/rpmbuild/TMP";
close RPMMACROS;



  • perfsonar: r3701 - branches/rpm, svnlog, 04/16/2008

Archive powered by MHonArc 2.6.16.

Top of Page