Skip to content

Commit f928676

Browse files
dakhubgitgitster
authored andcommitted
Documentation/Makefile: remove cmd-list.made before redirecting to it.
If cmd-list.made has been created by a previous run as root, output redirection to it will fail. So remove it before regeneration. Signed-off-by: David Kastrup <dak@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 55d1932 commit f928676

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
119119
$(cmds_txt): cmd-list.made
120120

121121
cmd-list.made: cmd-list.perl $(MAN1_TXT)
122+
$(RM) $@
122123
perl ./cmd-list.perl
123124
date >$@
124125

0 commit comments

Comments
 (0)