Fix npm manpage symlinks
Resolves: rhbz#2187978 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
443480e5d2
commit
8a6ffdbb6a
@ -648,7 +648,7 @@ for i in 1 5 7; do
|
||||
mkdir -p %{buildroot}%{_mandir}/man${i}
|
||||
for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do
|
||||
basename=$(basename ${manpage})
|
||||
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${manpage} \
|
||||
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${basename} \
|
||||
%{buildroot}%{_mandir}/man${i}/${basename}
|
||||
done
|
||||
done
|
||||
|
@ -659,7 +659,7 @@ for i in 1 5 7; do
|
||||
mkdir -p %{buildroot}%{_mandir}/man${i}
|
||||
for manpage in %{buildroot}%{nodejs_private_sitelib}/npm/man/man$i/*; do
|
||||
basename=$(basename ${manpage})
|
||||
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${manpage} \
|
||||
ln -srf %{buildroot}%{nodejs_private_sitelib}/npm/man/man${i}/${basename} \
|
||||
%{buildroot}%{_mandir}/man${i}/${basename}
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user