Remove trailing whitespace

This commit is contained in:
Tuncer Ayaz 2011-08-08 22:35:45 +02:00
parent 4f41e742d3
commit 2911d48fb1

View file

@ -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() ->