mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-03-10 01:30:50 +00:00
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:
parent
e297177a69
commit
c75e9466f6
@ -31,8 +31,8 @@ prepare() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean up the previous install dir, if any.
|
# Clean up the previous install dir, if any.
|
||||||
if [[ -d ./${VERSION} ]]; then
|
if [[ -d ./${TARGET} ]]; then
|
||||||
rm -rf ./${VERSION}
|
rm -rf ./${TARGET}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar xf ${TARBALL}
|
tar xf ${TARBALL}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user