From 59e7b016de1efb6fbd8a82a1e0f3b031def69cef Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 1 Feb 2019 16:11:53 +0100 Subject: [PATCH] Fix bash completions install when building for flatpak We use /app prefix when building flatpak modules. --- ldc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ldc.spec b/ldc.spec index af1272c..0952928 100644 --- a/ldc.spec +++ b/ldc.spec @@ -172,6 +172,7 @@ pushd build -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ + -DBASH_COMPLETION_COMPLETIONSDIR:PATH=%{_datadir}/bash-completion/completions \ -DLLVM_CONFIG:PATH=llvm-config-%{llvm_version}-%{__isa_bits} \ %if 0%{?bootstrap} -DD_COMPILER:PATH=`pwd`/../build-bootstrap/bin/ldmd2 \