diff options
| author | Aaron Merey <[email protected]> | 2024-05-10 17:46:24 -0400 |
|---|---|---|
| committer | Aaron Merey <[email protected]> | 2024-05-10 17:56:49 -0400 |
| commit | 1df8caf4026b46604e55f1201942ffc01cb5676d (patch) | |
| tree | 1113250e9e01590d1ddcfba77e7f4025ef422d48 /config/Makefile.am | |
| parent | b3fcfe2c854808191aedc0b10cfd7162142c2c95 (diff) | |
config/Makefile.am: Modify profile.fish in all-local
Fish shell scripts do not support bracketed variables.
config/Makefile.am removes brackets from a variable in
config/fish.profile in order to prevent an error when running the
script.
Currently the brackets are removed during make install. This causes
testsuite failures if make check is run before make install.
Fix this by removing the brackets in all-local instead of
install-data-local.
Signed-off-by: Aaron Merey <[email protected]>
Diffstat (limited to 'config/Makefile.am')
| -rw-r--r-- | config/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/Makefile.am b/config/Makefile.am index e42aacee..2dcbe94e 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -38,10 +38,12 @@ pkgconfig_DATA = libelf.pc libdw.pc if LIBDEBUGINFOD pkgconfig_DATA += libdebuginfod.pc +all-local: + sed -i 's/{prefix}/prefix/g' profile.fish + install-data-local: $(INSTALL_DATA) profile.sh -D $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.sh $(INSTALL_DATA) profile.csh -D $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.csh - sed -i 's/{prefix}/prefix/g' profile.fish $(INSTALL_DATA) profile.fish -D $(DESTDIR)$(datadir)/fish/vendor_conf.d/debuginfod.fish mkdir -p $(DESTDIR)$(sysconfdir)/debuginfod if [ -n "@DEBUGINFOD_URLS@" ]; then \ |
