stopped writing {GRAY} before each message in myprint()
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user