From 8aa560d111e289685d4a326ffba7c20d3e0bc82e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 25 Feb 2011 01:17:48 +0100 Subject: [PATCH] save a variable Signed-off-by: Nico Schottelius --- bin/cdist-config | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/cdist-config b/bin/cdist-config index 372aa2d7..d84c88df 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -159,9 +159,7 @@ __cdist_remote_type_explorer_dir() __cdist_type_gencode() { - local type="$1" - - echo "${__cdist_type_dir}/${type}/${__cdist_name_gencode}" + echo "${__cdist_type_dir}/$1/${__cdist_name_gencode}" } __cdist_type_param_file()