Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Merge pull request #8 from apache/ken-dreyfus-hastings
Detect dreyfus/hastings correctly
  • Loading branch information
rnewson committed Oct 21, 2019
2 parents 846783b + c800e4a commit 506606ff2b29f72fcc9e875f1b9a33c258ad2af1
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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;

0 comments on commit 506606f

Please sign in to comment.