<commit_before>#!/bin/sh

INSTALLDIR=${installdir:-openmq4.5}
echo "Using installdir=$INSTALLDIR"

installMQ()
{
    if [ ! -d "$INSTALLDIR" ]
    then
      echo "Installing openmq."
      mkdir $INSTALLDIR
      cd $INSTALLDIR
      wget http://download.java.net/mq/open-mq/4.5.2/latest/openmq4_5_2-binary-Linux_X86.zip
      unzip openmq4*.zip

      echo "Initial start of broker to create configurations."
      startBroker
      stopBroker<commit_msg>Fixing automatic openmq installation script.<commit_after>#!/bin/sh

INSTALLDIR=${installdir:-openmq4.5}
echo "Using installdir=$INSTALLDIR"

installMQ()
{
    if [ ! -d "$INSTALLDIR" ]
    then
      echo "Installing openmq."
      mkdir $INSTALLDIR
      cd $INSTALLDIR
      wget http://download.java.net/mq/open-mq/4.5.2/latest/openmq4_5_2-binary-Linux_X86.zip
      unzip openmq4*.zip
      cd -

      echo "Initial start of broker to create configurations."
      startBroker
      stopBroker
{'fraction_non_alphanumeric': 0.11506276150627615, 'fraction_numerical': 0.02301255230125523, 'mean_word_length': 2.874493927125506, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6677994', 'n_tokens_mistral': 347, 'n_tokens_neox': 324, 'n_words': 66}