Skip to content

Commit

Permalink
Merge pull request #270 from raphink/dev/is_pe
Browse files Browse the repository at this point in the history
Check if $is_pe exists before using it
  • Loading branch information
cmurphy committed Feb 24, 2015
2 parents 9e1a8f8 + 6a0e9cc commit 2d60bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
$command = strip(regsubst("${script_command} -o \"${fragdir}/${concat_name}\" -d \"${fragdir}\" ${warnflag} ${forceflag} ${orderflag} ${newlineflag}", '\s+', ' ', 'G'))

# make sure ruby is in the path for PE
if $::is_pe {
if defined('$is_pe') and $::is_pe {
if $::kernel == 'windows' {
$command_path = "${::env_windows_installdir}/bin:${::path}"
} else {
Expand Down

0 comments on commit 2d60bcb

Please sign in to comment.