mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
fix packaging if bash-completions directory wasn't present on the build
machine. reported/analysed by naddy@
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -146,7 +146,7 @@ uninstall-doc :
|
||||
$(RM) -r $(DESTDIR)$(docdir)
|
||||
|
||||
install-completion :
|
||||
- if [ -d $(compdir) ] ; then \
|
||||
+ if true || [ -d $(compdir) ] ; then \
|
||||
$(INSTALL_DIR) $(DESTDIR)$(compdir) ; \
|
||||
for program in $(PROGRAMS) ; do \
|
||||
$(INSTALL_DATA) completion/$$program.bash $(DESTDIR)$(compdir)/$$program ; done ; \
|
||||
Reference in New Issue
Block a user