<commit_before>#
# $Id: erl_make.mk 107291 2008-07-14 15:06:21Z norton $
#

# force /bin/(ba)sh so we can take advantage of the pipefail feature
export SHELL := /bin/sh -e -o pipefail

######################################################################

PLUGINS ?=

ASNS ?=

MODULES ?=

PRIVS ?=
TESTS ?=
QUICKTESTS ?=

TICKTIME ?= 60

######################################################################
# erl/erlc
POSSIBLE__ERL1 ?= erl
POSSIBLE__ERLC1 ?= erlc

ifeq ($(origin ERL), undefined)
POSSIBLE__LS_OUT1=$(shell /bin/ls -l $(POSSIBLE__ERL1) 2> /dev/null)
ifneq (,$(findstring erl,$(POSSIBLE__LS_OUT1)))<commit_msg>Fix erl_make.mk to work on non-Bash'ified systems like FreeBSD<commit_after>#
# $Id: erl_make.mk 107291 2008-07-14 15:06:21Z norton $
#

BASH_LS=$(shell /bin/ls -l /bin/bash 2> /dev/null)
ifneq (,$(BASH_LS))
# force /bin/(ba)sh so we can take advantage of the pipefail feature
export SHELL := /bin/bash -e -o pipefail
else
export SHELL := /bin/sh
endif

######################################################################

PLUGINS ?=

ASNS ?=

MODULES ?=

PRIVS ?=
TESTS ?=
QUICKTESTS ?=

TICKTIME ?= 60

######################################################################
# erl/erlc
POSSIBLE__ERL1 ?= erl
POSSIBLE__ERLC1 ?= erlc

ifeq ($(origin ERL), undefined)
POSSIBLE__LS_OUT1=$(shell /bin/ls -l $(POSSIBLE__ERL1) 2> /dev/null)
ifneq (,$(findstring erl,$(POSSIBLE__LS_OUT1)))
{'fraction_non_alphanumeric': 0.3205944798301486, 'fraction_numerical': 0.040339702760084924, 'mean_word_length': 5.607476635514018, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7019475', 'n_tokens_mistral': 583, 'n_tokens_neox': 516, 'n_words': 120}