diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-12-25 16:44:57 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-12-25 16:46:13 +0100 |
commit | bd349bd2c4d8f68e19f130ea04cf27542e52fb3b (patch) | |
tree | da4f062c91e37f40abd2be39e926637b8f91dfe4 /bootstrap | |
parent | 8c01734e98c3eedfd299884e1553ca315e55bda4 (diff) |
bootstrap: do not ignore write_file return value
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -141,7 +141,9 @@ write_windows_scripts() -> "setlocal\r\n" "set rebarscript=%~f0\r\n" "escript.exe \"%rebarscript:.bat=%i\" %*\r\n", - file:write_file("rebar.cmd", CmdScript), + ok = file:write_file("rebar.cmd", CmdScript), UTF16BE = {utf16, big}, - file:write_file("rebar.ps1", [unicode:encoding_to_bom(UTF16BE), - unicode:characters_to_binary(PowershellScript, utf8, UTF16BE)]). + ok = file:write_file("rebar.ps1", + [unicode:encoding_to_bom(UTF16BE), + unicode:characters_to_binary(PowershellScript, + utf8, UTF16BE)]). |