about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-08-31 22:08:54 +0200
committerhexcoder- <heiko@hexco.de>2020-08-31 22:08:54 +0200
commit4261e17b3e9d90fea9495fc046d55976cc9e7647 (patch)
treeeb930b56b9ca79f081342affc0c1b82ba8d45780
parent8ca4414d70df515b504beefddcc3ad3615a4216a (diff)
downloadafl++-4261e17b3e9d90fea9495fc046d55976cc9e7647.tar.gz
replace non portable echo -n with printf
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1ccb2bb0..61f0ca55 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -573,7 +573,7 @@ source-only: all
 %.8:	%
 	@echo .TH $* 8 $(BUILD_DATE) "afl++" > $@
 	@echo .SH NAME >> $@
-	@echo -n ".B $* \- " >> $@
+	@printf "%s" ".B $* \- " >> $@
 	@./$* -h 2>&1 | head -n 1 | sed -e "s/$$(printf '\e')[^m]*m//g" >> $@
 	@echo >> $@
 	@echo .SH SYNOPSIS >> $@