From df70598caa162aadda3f0a939ea0d9b6b631f74a Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Mon, 3 Jul 2023 17:39:55 +0530
Subject: [PATCH] Clean build directory

---
 gitlab-build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gitlab-build.sh b/gitlab-build.sh
index 9dd9dc37..2eaa85e2 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -38,9 +38,9 @@ HERE
 
 	echo "**** Updating $PAGES_URL/$VER_DIR ****"
 
-	make clean
-	make html BUILDDIR=public/$VER_DIR/
-	make latexpdf BUILDDIR=public/$VER_DIR/
+	make clean BUILDDIR=public/$VER_DIR
+	make html BUILDDIR=public/$VER_DIR
+	make latexpdf BUILDDIR=public/$VER_DIR
 	pdfcpu optimize public/$VER_DIR/latex/beagleboard-docs.pdf
 	mv public/$VER_DIR/latex/beagleboard-docs.pdf public/$VER_DIR/
 	rm -rf public/$VER_DIR/latex
-- 
GitLab