galileo: Fix bug in newlib build script

This patch fixes a bug in the newlib build script that causes it to
not delete an old source directory as intended prior to rebuilding the
library.
This commit is contained in:
Michael LeMay 2015-11-11 09:19:17 -08:00 committed by Jesus Sanchez-Palencia
parent e297177a69
commit c75e9466f6

View file

@ -31,8 +31,8 @@ prepare() {
fi
# Clean up the previous install dir, if any.
if [[ -d ./${VERSION} ]]; then
rm -rf ./${VERSION}
if [[ -d ./${TARGET} ]]; then
rm -rf ./${TARGET}
fi
tar xf ${TARBALL}