mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Fix issue with build script
This commit is contained in:
9
build.sh
9
build.sh
@@ -54,13 +54,16 @@ while IFS= read line; do
|
|||||||
line="$(trim "$line")"
|
line="$(trim "$line")"
|
||||||
file="${line/#source \"/}"
|
file="${line/#source \"/}"
|
||||||
file="${file/%\"/}"
|
file="${file/%\"/}"
|
||||||
output="${output}$(cat "$file")\n\n"
|
output="${output}$(cat "$file")
|
||||||
|
|
||||||
|
"
|
||||||
else
|
else
|
||||||
# Append line to output.
|
# Append line to output.
|
||||||
output="${output}${line}\n"
|
output="${output}${line}
|
||||||
|
"
|
||||||
fi
|
fi
|
||||||
done < "$source"
|
done < "$source"
|
||||||
|
|
||||||
cd "$root"
|
cd "$root"
|
||||||
echo -e "$output" > "$target"
|
echo -n "$output" > "$target"
|
||||||
chmod +x "$target"
|
chmod +x "$target"
|
||||||
|
|||||||
Reference in New Issue
Block a user