Skip to content

Commit

Permalink
Update erlsass.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanwel authored Apr 4, 2018
1 parent f40fab0 commit 9f99070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/erlsass.erl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ compile_file(_, _) ->
not_loaded(?LINE).

init() ->
?PRINT ( code:priv_dir(?APPNAME) ),
PrivDir = case code:priv_dir(?APPNAME) of
{error, bad_name} ->
case filelib:is_dir(filename:join(["..", priv])) of
Expand All @@ -51,6 +52,7 @@ init() ->
end;
Dir -> filename:nativename( filename:absname( Dir ) )
end,


case os:type() of
{win32, _Osname} ->
Expand Down

0 comments on commit 9f99070

Please sign in to comment.