Skip to content

Commit

Permalink
perlbrew::exec should not be forced to Perlbrew[$target]'s cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Oct 6, 2014
1 parent 6fe4729 commit c8e630b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion manifests/exec.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
$target,
$command = $name,
$creates = undef,
$cwd = undef,
$environment = undef,
$logoutput = undef,
$onlyif = undef,
Expand Down Expand Up @@ -61,7 +62,7 @@
exec { "${target}_${command}":
command => $command,
creates => $creates,
cwd => $install_root,
cwd => $cwd,
environment => $merged_environment,
group => $group,
logoutput => $logoutput,
Expand Down
1 change: 0 additions & 1 deletion spec/unit/defines/perlbrew_exec_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

it { should contain_exec('5.18.2_perl Build.PL').with(
:command => 'perl Build.PL',
:cwd => '/dne',
:environment => perlbrew_env,
:path => perlbrew_path
)
Expand Down

0 comments on commit c8e630b

Please sign in to comment.