Skip to content

Commit 9412b2c

Browse files
author
Tuncer Ayaz
authored
Merge pull request #52 from tuncer/dead-code
Restore detail from #38
2 parents a2f6462 + 94f0327 commit 9412b2c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pc_port_specs.erl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@ get_port_spec(Config, OsType, {_Arch, Target, Sources, Opts}) ->
162162
SourceFiles =
163163
lists:flatmap(
164164
fun(Source) ->
165-
Source1 = expand_env(Source, Env),
166-
Source2 = rebar_utils:escape_chars(
167-
filename:join(rebar_state:dir(Config), Source1)),
168-
wildcard(Source2)
165+
wildcard(expand_env(Source, Env))
169166
end, Sources),
170167
LinkLang =
171168
case lists:any(

0 commit comments

Comments
 (0)