commit 0759984

hovercats  ·  2026-09-12 02:19:30 +0000 UTC
parent 2bee5e1
rename rcpm_compressor to just compressor. its no need for this function to have this long of a name
1 files changed,  +3, -3
M rcpm
M rcpm
+3, -3
 1@@ -75,7 +75,7 @@ fn get_ver {
 2 	rev=$version(2)
 3 }
 4 
 5-fn rcpm_compressor {
 6+fn compressor {
 7 	if (~ $#rcpm_compression 0) rcpm_compression=gzip
 8 	switch($rcpm_compression) {
 9 		case gzip
10@@ -94,7 +94,7 @@ fn rcpm_compressor {
11 }
12 
13 fn check_prebuilt {
14-	rcpm_compressor && status=()
15+	compressor && status=()
16 	if (test ! -f $rcpm_cache/$pkg@$ver-$rev.tar.$ext) {
17 		errexit $pkg is not built
18 	}
19@@ -167,7 +167,7 @@ fn build_pkg {
20 	printf $"version >./$rcpm_db/$pkg/ver
21 	gen_manifest
22 	test -d $rcpm_cache || mkdir -p $rcpm_cache
23-	rcpm_compressor
24+	compressor
25 	pax -w . | $tool >$rcpm_cache/$pkg@$ver-$rev.tar.$ext
26 	install_pkg
27 }