浏览代码

Remove trailing whitespace

pull/3/head
Tuncer Ayaz 14 年前
父节点
当前提交
2911d48fb1
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      bootstrap

+ 3
- 3
bootstrap 查看文件

@ -81,19 +81,19 @@ main(Args) ->
_ -> _ ->
ok ok
end, end,
%% Add a helpful message %% Add a helpful message
io:format("Congratulations! You now have a self-contained script called \"rebar\" in\n" io:format("Congratulations! You now have a self-contained script called \"rebar\" in\n"
"your current working directory. Place this script anywhere in your path\n" "your current working directory. Place this script anywhere in your path\n"
"and you can use rebar to build OTP-compliant apps.\n"). "and you can use rebar to build OTP-compliant apps.\n").
rm(Path) -> rm(Path) ->
NativePath = filename:nativename(Path),
NativePath = filename:nativename(Path),
Cmd = case os:type() of Cmd = case os:type() of
{unix,_} -> "rm -f "; {unix,_} -> "rm -f ";
{win32,_} -> "del /q " {win32,_} -> "del /q "
end, end,
[] = os:cmd(Cmd ++ NativePath),
[] = os:cmd(Cmd ++ NativePath),
ok. ok.
build_time() -> build_time() ->

正在加载...
取消
保存