From 8d4a91f8523fc9dd13e94a619f50b6a898af53d6 Mon Sep 17 00:00:00 2001 From: timerix Date: Fri, 20 Jan 2023 04:21:23 +0600 Subject: [PATCH] link command printing --- functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index cdaa299..9fbb887 100755 --- a/functions.sh +++ b/functions.sh @@ -60,8 +60,8 @@ function link { local objects="$(find $OBJDIR -name '*.o') $(find $OBJDIR -name '*.a')" printf "${BLUE}objects: ${GRAY}$objects\n" - local command="$CMP_CPP $args $(echo $objects | tr '\n' ' ') $LINK_LIBS -o $outfile" - printf "$command" + local command="$CMP_CPP $args $(echo $objects | tr '\n' ' ') $LINK_LIBS -o $outfile" + printf "$command\e" if $command then printf "${GREEN}file $CYAN$outfile ${GREEN}created\n${GRAY}"