quote var to be safer

This commit is contained in:
mh 2010-05-09 23:10:05 +02:00 committed by Micah Anderson
parent d366f079d1
commit bd774cd232

View file

@ -16,7 +16,7 @@ define module_dir (
) )
{ {
include common::moduledir include common::moduledir
$dir = "$common::moduledir::module_dir_path/${name}" $dir = "${common::moduledir::module_dir_path}/${name}"
if defined(File[$dir]) { if defined(File[$dir]) {
debug("${dir} already defined") debug("${dir} already defined")
} else { } else {