<commit_before>#!/bin/bash

mkdir -p ${PREFIX}/bin

if [ $(uname) == Linux ]; then
  mv * ${PREFIX}/bin
fi

if [ $(uname) == Darwin ]; then
  pkgutil --expand firefox.pkg firefox
  cpio -i -I firefox/Payload
  cp -rf Firefox.app $PREFIX/
  APP=$PREFIX/bin/firefox
  cat <<EOF >$APP
#!/bin/bash
$PREFIX/Firefox.app/Contents/MacOS/firefox "\$@"
EOF
  chmod +x $APP
fi<commit_msg>test calling from a script on linux<commit_after>#!/bin/bash

APP=${PREFIX}/bin/firefox

if [[ $(uname) == Linux ]]; then
  mkdir -p ${PREFIX}/bin/Firefox
  mv * ${PREFIX}/bin/Firefox
  cat <<EOF >$APP
#!/bin/bash
$PREFIX/bin/Firefox/firefox "\$@"
EOF
elif [[ $(uname) == Darwin ]]; then
  pkgutil --expand firefox.pkg firefox
  cpio -i -I firefox/Payload
  cp -rf Firefox.app ${PREFIX}/
  cat <<EOF >$APP
#!/bin/bash
$PREFIX/Firefox.app/Contents/MacOS/firefox "\$@"
EOF
fi

chmod +x $APP
{'fraction_non_alphanumeric': 0.1884393063583815, 'fraction_numerical': 0.0, 'mean_word_length': 3.4870466321243523, 'pattern_counts': {'":': 0, '<': 9, '<?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': '5183249', 'n_tokens_mistral': 357, 'n_tokens_neox': 327, 'n_words': 86}