stopped writing {GRAY} before each message in myprint()

This commit is contained in:
2025-11-12 14:33:22 +05:00
parent 5cc2e1c2ad
commit e655f05da6
4 changed files with 9 additions and 6 deletions

View File

@@ -233,7 +233,9 @@ function pack_static_lib {
fi
local command="ar rcs $OUTDIR/$outfile $objects"
myprint "$command"
print_hline "${GRAY}" "─"
myprint "${GRAY}$command"
print_hline "${GRAY}" "─"
if $command
then
myprint "${GREEN}file $CYAN$outfile ${GREEN}created"
@@ -268,7 +270,9 @@ function link {
done
local command="$CMP_CPP $objects $static_libs $args $dynamic_libs_args -o $OUTDIR/$outfile"
myprint "$command"
print_hline "${GRAY}" "─"
myprint "${GRAY}$command"
print_hline "${GRAY}" "─"
if $command
then
myprint "${GREEN}file $CYAN$outfile ${GREEN}created"