From ea09c17ebaeaa0e51a294a2a354ddcb845db9775 Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 8 Feb 2024 16:35:30 +0000 Subject: nuke empty dirs before pulldeps. --- mkfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mkfile') diff --git a/mkfile b/mkfile index d168918..edfb0c9 100644 --- a/mkfile +++ b/mkfile @@ -22,7 +22,12 @@ libobj/libobj.a$O: 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 -- cgit v1.2.3