<commit_before>BASEDIR=$PWD

sudo rm -rf /Library/Xsnmp

cd ~/Source/External/pcre-8.02
$BASEDIR/util/pcre_build.sh
cd $BASEDIR

make distclean
./bootstrap.sh && make && sudo make install

sudo cp launchd/com.xsnmp.xsnmp-agentx.plist /Library/Xsnmp/XsnmpAgentExtension.app/Resources
sudo cp -r packaging/XsnmpInstaller.pmdoc /Library/Xsnmp/XsnmpAgentExtension.app/Resources
sudo cp -r packaging/scripts /Library/Xsnmp/XsnmpAgentExtension.app/Resources
sudo cp /Library/Xsnmp/XsnmpAgentExtension.app/Resources/scripts/postinstall.template /Library/Xsnmp/XsnmpAgentExtension.app/Resources/scripts/postinstall
sudo cp packaging/Info.plist /Library/Xsnmp/XsnmpAgentExtension.app/Contents 

cd prefpane
xcodebuild -configuration Release clean
xcodebuild -configuration Release build
cd ..

sudo cp -r prefpane/build/release/Xsnmp.prefPane /Library/Xsnmp/XsnmpAgentExtension.app/Resources

/Developer/usr/bin/packagemaker --doc "/Library/Xsnmp/XsnmpAgentExtension.app/Resources/XsnmpInstaller.pmdoc" --out "packaging/Xsnmp Installer.pkg" --title "Xsnmp Installer"

#sudo rm -rf /Library/Xsnmp<commit_msg>osx bootstrap update<commit_after>BASEDIR=$PWD

sudo rm -rf /Library/Xsnmp

cd ~/Source/External/pcre-8.02
$BASEDIR/util/pcre_build.sh
cd $BASEDIR

make distclean
./bootstrap_osx.sh && make && sudo make install

sudo cp launchd/com.xsnmp.xsnmp-agentx.plist /Library/Xsnmp/XsnmpAgentExtension.app/Resources
sudo cp -r packaging/XsnmpInstaller.pmdoc /Library/Xsnmp/XsnmpAgentExtension.app/Resources
sudo cp -r packaging/scripts /Library/Xsnmp/XsnmpAgentExtension.app/Resources
sudo cp /Library/Xsnmp/XsnmpAgentExtension.app/Resources/scripts/postinstall.template /Library/Xsnmp/XsnmpAgentExtension.app/Resources/scripts/postinstall
sudo cp packaging/Info.plist /Library/Xsnmp/XsnmpAgentExtension.app/Contents 

cd prefpane
xcodebuild -configuration Release clean
xcodebuild -configuration Release build
cd ..

sudo cp -r prefpane/build/release/Xsnmp.prefPane /Library/Xsnmp/XsnmpAgentExtension.app/Resources

/Developer/usr/bin/packagemaker --doc "/Library/Xsnmp/XsnmpAgentExtension.app/Resources/XsnmpInstaller.pmdoc" --out "packaging/Xsnmp Installer.pkg" --title "Xsnmp Installer"

#sudo rm -rf /Library/Xsnmp
{'fraction_non_alphanumeric': 0.10512007249660173, 'fraction_numerical': 0.002718622564567286, 'mean_word_length': 5.219718309859155, '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': '7257573', 'n_tokens_mistral': 790, 'n_tokens_neox': 760, 'n_words': 137}