Last active
October 6, 2016 15:39
-
-
Save Anthchirp/698bbb38dfb21e99048aaf01f9cb56df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf base.old build.old | |
if [ -d base ]; then | |
mv base base.old | |
fi | |
if [ -d build ]; then | |
mv build build.old | |
fi | |
if [ -d base_tmp ]; then | |
cd base_tmp | |
for f in *; do | |
if [ -d "$f" ] && [ "$f" != "python_extra" ]; then | |
echo "Cleaning base_tmp/$f" | |
rm -rf -- "$f" | |
fi | |
done | |
rm -rf *_log | |
if [ -d "python_extra" ]; then | |
rm -rf python_extra/*_log | |
fi | |
cd .. | |
fi | |
python modules/cctbx_project/libtbx/auto_build/bootstrap.py --builder=dials base build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment