commit 37ec070

hovercats  ·  2025-05-22 01:08:19 +0000 UTC
parent 4379458
use * instead of . when packing up. this removes leading . and ./ on dirs when listing content of tarball
1 files changed,  +1, -1
M rcpm
M rcpm
+1, -1
1@@ -52,7 +52,7 @@ fn get_ver {
2 }
3 fn packup_pkg {
4 	test -d $RCPM_CACHE || mkdir -p $RCPM_CACHE
5-	pax -w . | gzip > $RCPM_CACHE/$pkg@$ver-$rev.tar.gz
6+	pax -w * | gzip > $RCPM_CACHE/$pkg@$ver-$rev.tar.gz
7 }
8 
9 fn create_worktree {