From ffdfc5f889a3f934e5a103cbbab3255b67c950af Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 3 Oct 2013 22:56:09 +0100 Subject: [PATCH] Fix issue with build script --- build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index e35017b..8aba517 100755 --- a/build.sh +++ b/build.sh @@ -54,13 +54,16 @@ while IFS= read line; do line="$(trim "$line")" file="${line/#source \"/}" file="${file/%\"/}" - output="${output}$(cat "$file")\n\n" + output="${output}$(cat "$file") + +" else # Append line to output. - output="${output}${line}\n" + output="${output}${line} +" fi done < "$source" cd "$root" -echo -e "$output" > "$target" +echo -n "$output" > "$target" chmod +x "$target"