Skip to content

Commit 1ed4ccd

Browse files
committed
rpm: initialize MANPATH to an empty string when first set
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
1 parent 4236811 commit 1ed4ccd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

share/rpm/environment-modules.spec.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ have access to the module alias.
121121
--enable-modulespath \
122122
--with-python=%{pythonbin} \
123123
--with-modulepath=%{_datadir}/Modules/modulefiles:%{_sysconfdir}/modulefiles:%{_datadir}/modulefiles \
124-
--with-quarantine-vars='LD_LIBRARY_PATH LD_PRELOAD'
124+
--with-quarantine-vars='LD_LIBRARY_PATH LD_PRELOAD' \
125+
--with-init-envvars='MANPATH='
125126

126127
%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7
127128
%make_build

0 commit comments

Comments
 (0)