<commit_before>#!/bin/bash

build_dir=$1
my_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

cp $my_dir/collectd*.sh $build_dir

pushd $build_dir
  echo "Unpacking and configuring collectd"
  tar xzf $my_dir/../collectd.tgz
  rm $my_dir/../collectd.tgz
  cp $my_dir/../collectd-related-config/collectd.template etc/collectd.conf
popd
<commit_msg>Add debug to collectd-install.sh<commit_after>#!/bin/bash

build_dir=$1
my_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "build_dir is ${build_dir}"
echo "my_dir is ${my_dir}"
ls -l $my_dir

cp $my_dir/collectd*.sh $build_dir

pushd $build_dir
  echo "Unpacking and configuring collectd"
  tar xzf $my_dir/../collectd.tgz
  rm $my_dir/../collectd.tgz
  cp $my_dir/../collectd-related-config/collectd.template etc/collectd.conf
popd

{'fraction_non_alphanumeric': 0.16708229426433915, 'fraction_numerical': 0.004987531172069825, 'mean_word_length': 4.389261744966443, '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': '5180780', 'n_tokens_mistral': 336, 'n_tokens_neox': 319, 'n_words': 66}