Problem: Makefile: using non-portable syntax
(Jonathan Schleifer)
Solution: Remove duplicate parenthesis
closes: #18542
Signed-off-by: Christian Brabandt <cb@256bit.org>
-@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
-@if test -n "$(COMPILEDBY)"; then \
echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
- else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
+ else (logname 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
-@echo '";' >> $@
-@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
-@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1855,
/**/
1854,
/**/