Skip to content

Commit 262a1ab

Browse files
committed
fix: use asynchronous file write during bootstrapping
1 parent d15a632 commit 262a1ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ for input_file in `find . -type f ! -name 'README.md' ! -name 'bootstrap.sh' ! -
88
do
99
if [ ! -d "${input_file}" ]; then
1010
echo "Rendering file: ${input_file}"
11-
sed -E 's/__(([^_]|_[^_])*)__/${\1}/g' "${input_file}" | envsubst > "${input_file}"
11+
sed -E 's/__(([^_]|_[^_])*)__/${\1}/g' "${input_file}" | envsubst | tee "${input_file}"
1212
fi
1313
done
1414

0 commit comments

Comments
 (0)