<commit_before>#!/bin/bash
# You can override config options very easily.
# Just create a custom options file in the custom/ directory.
# It may be version specific:
# - custom/options.sh
# - custom/options-5.sh
# - custom/options-5.3.sh
# - custom/options-5.3.1.sh
#
# Don't touch this file here - it would prevent you to just "svn up"
# your phpfarm source code.

version=$1
vmajor=$2
vminor=$3
vpatch=$4

configure=`stat -c '%Y' "options.sh"`
configoptions="\
--disable-short-tags \
--with-layout=GNU \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-pcntl \
--enable-soap \
--enable-sockets \
--enable-sqlite-utf8 \
--enable-wddx \
--enable-zip \
--with-zlib \
--with-gettext"

echo $version $vmajor $vminor $vpatch

for suffix in "" "-$vmajor" "-$vmajor.$vminor" "-$vmajor.$vminor.$vpatch"; do
    custom="custom/options$suffix.sh"
    if [ -e "$custom" ]; then
        tstamp=`stat -c '%Y' "$custom"`
        if [ $tstamp -gt $configure ]; then
            configure=$tstamp
        fi
        source "$custom" $version $vmajor $vminor $vpatch
    fi
done<commit_msg>Minor tweak.<commit_after>#!/bin/bash
# You can override config options very easily.
# Just create a custom options file in the custom/ directory.
# It may be version specific:
# - custom/options.sh
# - custom/options-5.sh
# - custom/options-5.3.sh
# - custom/options-5.3.1.sh
#
# Don't touch this file here - it would prevent you to just "svn up"
# your phpfarm source code.

version=$1
vmajor=$2
vminor=$3
vpatch=$4

configure=`stat -c '%Y' "options.sh"`
configoptions="\
--disable-short-tags \
--with-layout=GNU \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-pcntl \
--enable-soap \
--enable-sockets \
--enable-sqlite-utf8 \
--enable-wddx \
--enable-zip \
--with-zlib \
--with-gettext"

echo $version $vmajor $vminor $vpatch

for suffix in "" "-$vmajor" "-$vmajor.$vminor" "-$vmajor.$vminor.$vpatch"; do
    custom="custom/options$suffix.sh"
    if [ -e "$custom" ]; then
        tstamp=`stat -c '%Y' "$custom"`
        if [ $tstamp -gt $configure ]; then
            configure=$tstamp
        fi
        source "$custom" "$version" "$vmajor" "$vminor" "$vpatch"
    fi
done
{'fraction_non_alphanumeric': 0.17354638260097646, 'fraction_numerical': 0.009764758100310697, 'mean_word_length': 2.775544388609715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1403503', 'n_tokens_mistral': 828, 'n_tokens_neox': 798, 'n_words': 208}