Skip to content

Commit

Permalink
Use env var for arch instead of the LaTeX command
Browse files Browse the repository at this point in the history
The LaTeX command got broken somehow with 9af8dbd

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g authored and adrianreber committed Aug 22, 2023
1 parent 432abcd commit d8e63e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/recipes/install/common/openeuler_repos.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
% begin_ohpc_run
% ohpc_command if [[ ${enable_epol_updates} -eq 1 ]];then
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={},basicstyle=\fontencoding{T1}\fontsize{7.6}{10}\ttfamily,
literate={ARCH}{\arch{}}1 {-}{-}1]
\begin{lstlisting}[language=bash,keywords={},basicstyle=\fontencoding{T1}\fontsize{7.6}{10}\ttfamily]
[sms](*\#*) export repo=https://eur.openeuler.openatom.cn/results/mgrigorov/OpenHPC
[sms](*\#*) export arch=$(uname -m)
[sms](*\#*) (*\install*) \
${repo}/openeuler-22.03_LTS-ARCH/00091098-openeuler-extra-repos/openeuler-extra-repos-22.03-LTS.noarch.rpm
${repo}/openeuler-22.03_LTS-${arch}/00091098-openeuler-extra-repos/openeuler-extra-repos-22.03-LTS.noarch.rpm
\end{lstlisting}
% ohpc_indent 0
% ohpc_command fi
Expand Down

0 comments on commit d8e63e5

Please sign in to comment.