Commit a50e2aae authored by Jacob Adams's avatar Jacob Adams

Revert "Use previous build to speed up future builds"

This reverts commit 815b52da.

Though I thought that cleaning up the build directory with lb clean would
resolve any conflicts, I'm still getting strange build errors. Wiping the
build directory seems like the best option for now and I will revist this
later.
parent 17f8ec39
......@@ -21,13 +21,11 @@ fi
WORK_DIR=`pwd`/build-cd
if [ -e "${WORK_DIR}" ];
then
echo "${WORK_DIR} already exists, cleaning (requires root)"
cd "${WORK_DIR}"
sudo lb clean --all
else
mkdir -p "${WORK_DIR}"
cd "${WORK_DIR}"
echo "${WORK_DIR} already exists, aborting."
exit 1
fi
mkdir -p "${WORK_DIR}"
cd "${WORK_DIR}"
if [ ! -z "$LIVE_FLAVOUR" ];
then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment