From 228ed4dbd2608fc39a9dd878b44faed3b8cb5b58 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@bento.schottelius.org>
Date: Wed, 29 Jan 2014 23:19:07 +0100
Subject: [PATCH] fix typos in __debconf_set_selections

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
---
 cdist/conf/type/__debconf_set_selections/gencode-remote | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cdist/conf/type/__debconf_set_selections/gencode-remote b/cdist/conf/type/__debconf_set_selections/gencode-remote
index 4892ec25..bb719c46 100755
--- a/cdist/conf/type/__debconf_set_selections/gencode-remote
+++ b/cdist/conf/type/__debconf_set_selections/gencode-remote
@@ -21,12 +21,12 @@
 # Setup selections
 #
 
-filename"$(cat "$__object/parameter/file")"
+filename="$(cat "$__object/parameter/file")"
 
 if [ "$filename" = "-" ]; then
     filename="$__object/stdin"
 fi
 
 echo "debconf-set-selections << __file-eof"
-cat "$(cat "$filename")"
+cat "$filename"
 echo "__file-eof"