Fix issue with build script

This commit is contained in:
2013-10-03 22:56:09 +01:00
parent 7594f1bc59
commit ffdfc5f889

View File

@@ -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"