We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c56a7dc commit fe49207Copy full SHA for fe49207
build_pkg.sh
@@ -34,11 +34,10 @@ GITREV=$(git log -n1 --format="%H" -- "${THISDIR}")
34
GITREVINDEX=$(git rev-list --count "$GITREV")
35
VERSION="${VERSION}.${GITREVINDEX}"
36
37
-# make sure we have a build directory to use
+# make sure we have a clean build directory to use
38
BUILD_DIR="${THISDIR}/build"
39
-if [ ! -d "${BUILD_DIR}" ] ; then
40
- mkdir "${BUILD_DIR}"
41
-fi
+rm -rf "${BUILD_DIR}"
+mkdir -p "${BUILD_DIR}"
42
43
# build the dylib
44
echo "Building ${TOOL}.plugin..."
0 commit comments