diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-26 11:02:52 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-26 11:39:40 -0400 |
commit | 469bb100d690d03b627dce48253a796a8f8cce68 (patch) | |
tree | 10ce37476b3d886fe144c32224a2b99b606bfe38 /solenv | |
parent | ea360ff3ad9dac359f707cee5f0ca6548a7cd5d5 (diff) |
avoid getcwd redefined warning
Change-Id: Idd788dad8c2b5e2689a17b571104d0fe04accfd1
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/epmfile.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm index 7ee6d1396e8d..4ea85b68a375 100644 --- a/solenv/bin/modules/installer/epmfile.pm +++ b/solenv/bin/modules/installer/epmfile.pm @@ -18,7 +18,7 @@ package installer::epmfile; -use Cwd; +use Cwd qw(); use installer::converter; use installer::exiter; use installer::files; @@ -1111,7 +1111,7 @@ sub set_topdir_in_specfile { my ($changefile, $filename, $newepmdir) = @_; - $newepmdir = cwd() . $installer::globals::separator . $newepmdir; # only absolute path allowed + $newepmdir = Cwd::cwd() . $installer::globals::separator . $newepmdir; # only absolute path allowed # removing "%define _topdir", if existing @@ -2070,7 +2070,7 @@ sub create_packages_without_epm if ( $rpmversion >= 4 ) { - my $dir = getcwd; + my $dir = Cwd::getcwd; my $buildroot = $dir . "/" . $epmdir . "buildroot/"; $buildrootstring = "--buildroot=$buildroot"; mkdir($buildroot = $dir . "/" . $epmdir . "BUILD/"); |