gdal-completion.patch 759 B

1234567891011121314
  1. Index: gdal-2.2.3-fedora/scripts/GNUmakefile
  2. ===================================================================
  3. --- gdal-2.2.3-fedora.orig/scripts/GNUmakefile
  4. +++ gdal-2.2.3-fedora/scripts/GNUmakefile
  5. @@ -5,6 +5,6 @@ completion:
  6. install:
  7. if test "x`pkg-config --version 2>/dev/null`" != "x" -a "x`pkg-config --variable=compatdir bash-completion`" != "x"; then \
  8. - $(INSTALL_DIR) $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion` ; \
  9. - cp gdal-bash-completion.sh $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion`; \
  10. + $(INSTALL_DIR) $(DESTDIR)`pkg-config --variable=compatdir bash-completion` ; \
  11. + $(INSTALL_DATA) gdal-bash-completion.sh $(DESTDIR)`pkg-config --variable=compatdir bash-completion`/gdal; \
  12. fi