We're using a separate dir when building Ceph dependencies for
Windows. The build script isn't entirely idempotent ATM, so the
easiest thing to do is to just cleanup this dir when rebuilding
dependencies.
If *all* dependencies have been successfully built, this step is
skipped by default.
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
make -j $NUM_WORKERS $@
}
+if [[ -d $DEPS_DIR ]]; then
+ echo "Cleaning up dependency build dir: $DEPS_DIR"
+ rm -rf $DEPS_DIR
+fi
+
mkdir -p $DEPS_DIR
mkdir -p $depsToolsetDir
mkdir -p $depsSrcDir