diff options
author | Lukas Larsson <[email protected]> | 2018-04-06 17:09:04 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-04-10 14:07:59 +0200 |
commit | 63eef4c488c46d3b4957fbbf155158f1af8180ed (patch) | |
tree | c28e26065d384d2b641e1bbfea1a37ab5d354105 /lib/erl_docgen/priv | |
parent | ec7be0d6f6ccff9aaae0f1bd0461812c898e13e9 (diff) | |
download | otp-63eef4c488c46d3b4957fbbf155158f1af8180ed.tar.gz otp-63eef4c488c46d3b4957fbbf155158f1af8180ed.tar.bz2 otp-63eef4c488c46d3b4957fbbf155158f1af8180ed.zip |
erl_docgen: Fix ghlinks to .xmlsrc
Diffstat (limited to 'lib/erl_docgen/priv')
-rwxr-xr-x | lib/erl_docgen/priv/bin/codeline_preprocessing.escript | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/bin/codeline_preprocessing.escript b/lib/erl_docgen/priv/bin/codeline_preprocessing.escript index 8e1e35bcdd..67966b79e6 100755 --- a/lib/erl_docgen/priv/bin/codeline_preprocessing.escript +++ b/lib/erl_docgen/priv/bin/codeline_preprocessing.escript @@ -30,7 +30,7 @@ %% Function: main/1 %% Description: %%---------------------------------------------------------------------- -main([InFile, OutFile]) -> +main([CPath, InFile, OutFile]) -> InDev = case file:open(InFile, [read]) of {ok,ID} -> @@ -38,7 +38,6 @@ main([InFile, OutFile]) -> _ -> halt(5) end, - CPath=filename:dirname(InFile), OutDev = case file:open(OutFile, [write]) of {ok,OD} -> |