mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
fixup: delete temporary script file after the loop
Otherwise it wouldn't get deleted when $(COMMANDS) is empty. Fixes: https://github.com/tj/git-extras/pull/1227#discussion_r2720886367
This commit is contained in:
parent
4f9ca2df8b
commit
9320a55a39
2
Makefile
2
Makefile
|
|
@ -74,9 +74,9 @@ install: check
|
|||
fi; \
|
||||
tail -n +2 bin/$(COMMAND) >> $(TEMPFILE); \
|
||||
cp -f $(TEMPFILE) $(DESTDIR)$(BINPREFIX)/$(COMMAND); \
|
||||
rm -f $(TEMPFILE); \
|
||||
fi; \
|
||||
)
|
||||
rm -f $(TEMPFILE)
|
||||
@if [ -z "$(wildcard man/git-*.1)" ]; then \
|
||||
echo "WARNING: man pages not created, use 'make docs' (which requires 'ronn' ruby lib)"; \
|
||||
else \
|
||||
|
|
|
|||
Loading…
Reference in a new issue