commit bae9d57

hovercats  ·  2025-05-23 18:27:36 +0000 UTC
parent c593c1a
run git clean when we build a package using git submodule to start fresh every time
1 files changed,  +4, -1
M rcpm
M rcpm
+4, -1
 1@@ -98,7 +98,10 @@ fn pkg_install {
 2 
 3 fn pkg_build {
 4 	cd $RCPM_PATH/$pkg
 5-	if (test ! -f url) git submodule update --init --checkout src
 6+	if (test ! -f url) {
 7+		git submodule update --init --checkout src
 8+		git -C src clean -xfdq
 9+	}
10 	if not {
11 		chksum_pkg $pkg
12 		rm -rf src