<commit_before>#!/bin/sh
set -e

URL=`svn info | awk '$1 == "URL:" {print $2}'`
REV=`svn info | awk '$1 == "Revision:" {print $2}'`

echo $URL
echo $REV

TD=`mktemp -d /tmp/XXXXXXXXXXXXX`

( cd $TD 
  svn export $URL
  mv wessels dnscap-$REV
  rm dnscap-$REV/mk-release.sh
  tar czvf /tmp/dnscap-$REV.tar.gz dnscap-$REV
)

rm -rfv $TD
echo "install -m 644 -o $USER /tmp/dnscap-$REV.tar.gz /usr/local/www/drupal5/files/dnscap"
install -m 644 -o $USER /tmp/dnscap-$REV.tar.gz /usr/local/www/dnscap<commit_msg>mk-release.sh was echoing the wrong install director<commit_after>#!/bin/sh
set -e

URL=`svn info | awk '$1 == "URL:" {print $2}'`
REV=`svn info | awk '$1 == "Revision:" {print $2}'`

echo $URL
echo $REV

TD=`mktemp -d /tmp/XXXXXXXXXXXXX`

( cd $TD 
  svn export $URL
  mv wessels dnscap-$REV
  rm dnscap-$REV/mk-release.sh
  tar czvf /tmp/dnscap-$REV.tar.gz dnscap-$REV
)

rm -rfv $TD
echo "install -m 644 -o $USER /tmp/dnscap-$REV.tar.gz /usr/local/www/dnscap"
install -m 644 -o $USER /tmp/dnscap-$REV.tar.gz /usr/local/www/dnscap
{'fraction_non_alphanumeric': 0.1867179980750722, 'fraction_numerical': 0.02021174205967276, 'mean_word_length': 3.315352697095436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '2916457', 'n_tokens_mistral': 504, 'n_tokens_neox': 479, 'n_words': 117}