ensure CHECKS file has trailing newline. closes #2037

This commit is contained in:
Michael Hobbs committed 2016-03-29 11:10:48 -07:00
1 parent 6c51115e14
commit 8c31c8105e
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -118,6 +118,11 @@ checks_check_deploy() {
dokku_log_info1 "Default container check successful!" && exit 0 dokku_log_info1 "Default container check successful!" && exit 0
fi fi
# ensure CHECKS file has trailing newline
if [[ "$(tail -c1 "$FILENAME")" != "" ]]; then
echo "" >> "$FILENAME"
fi
# Reads name/value pairs, sets the WAIT and TIMEOUT variables # Reads name/value pairs, sets the WAIT and TIMEOUT variables
exec < "$FILENAME" exec < "$FILENAME"
local LINE local LINE
+1 -1
View File
@@ -1 +1 @@
/ nodejs/express / nodejs/express