Skip to content

Commit

Permalink
Merge pull request #343 from raphink/fix/is_pe_master
Browse files Browse the repository at this point in the history
Compare $::is_pe as bool, not string
  • Loading branch information
Morgan Haskel committed Jun 22, 2015
2 parents 130a334 + 17b836b commit 588757d
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 @@ -205,7 +205,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 defined('$is_pe') and $::is_pe {
if defined('$is_pe') and str2bool("${::is_pe}") { # lint:ignore:only_variable_string
if $::kernel == 'windows' {
$command_path = "${::env_windows_installdir}/bin:${::path}"
} else {
Expand Down

0 comments on commit 588757d

Please sign in to comment.