Skip to content

Commit

Permalink
Documentation/Makefile: remove cmd-list.made before redirecting to it.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
dakhubgit authored and gitster committed Aug 11, 2007
1 parent 55d1932 commit f928676
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
$(cmds_txt): cmd-list.made

cmd-list.made: cmd-list.perl $(MAN1_TXT)
$(RM) $@
perl ./cmd-list.perl
date >$@

Expand Down

0 comments on commit f928676

Please sign in to comment.