shithub: 3dee

Download patch

ref: ea09c17ebaeaa0e51a294a2a354ddcb845db9775
parent: c408b0425f8646103d28f0ae61e732424e34ab47
author: rodri <rgl@antares-labs.eu>
date: Thu Feb 8 11:35:30 EST 2024

nuke empty dirs before pulldeps.

--- a/mkfile
+++ b/mkfile
@@ -22,7 +22,12 @@
 	cd libobj
 	mk install
 
-pulldeps:VQ:
+nuke∅dirs:VQ:
+	for(d in `{walk -d | grep -v '^\.git'})
+		if(~ `{walk -f $d} '')
+			rm -f $d
+
+pulldeps:VQ: nuke∅dirs
 	git/clone git://antares-labs.eu/libobj || \
 	git/clone git://shithub.us/rodri/libobj || \
 	git/clone https://github.com/sametsisartenep/libobj