Skip to content

Commit

Permalink
Merge pull request #8 from apache/ken-dreyfus-hastings
Browse files Browse the repository at this point in the history
Detect dreyfus/hastings correctly
  • Loading branch information
rnewson authored Oct 21, 2019
2 parents 846783b + c800e4a commit 506606f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
% License for the specific language governing permissions and limitations under
% the License.

HaveDreyfus = code:lib_dir(dreyfus) /= {error, bad_name}.
HaveHastings = code:lib_dir(hastings) /= {error, bad_name}.
HaveDreyfus = element(1, file:list_dir("../dreyfus")) == ok.
HaveHastings = element(1, file:list_dir("../hastings")) == ok.

CurrOpts = case lists:keyfind(erl_opts, 1, CONFIG) of
{erl_opts, Opts} -> Opts;
Expand Down

0 comments on commit 506606f

Please sign in to comment.