Skip to content

Commit

Permalink
Use group command instead of subshell.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Apr 23, 2021
1 parent 1be14e0 commit bb8429d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pipelines/lib/util.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -363,13 +363,13 @@ def lsstswBuild(
set +o xtrace
cd lsstsw
source bin/envconfig
(
{
conda activate ltd &&
conda install -y -c conda-forge ltd-conveyor
) || (
} || {
conda create -y -n ltd -c conda-forge ltd-conveyor &&
conda activate ltd
)
}
set -o xtrace
GIT_REF=${LSST_REFS// /-}
ln -s ../../_doxygen/html/cpp-api build/pipelines_lsst_io/_build/html/cpp-api
Expand Down
6 changes: 3 additions & 3 deletions pipelines/lib/util_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -363,13 +363,13 @@ def lsstswBuild(
set +o xtrace
cd lsstsw
source bin/envconfig
(
{
conda activate ltd &&
conda install -y -c conda-forge ltd-conveyor
) || (
} || {
conda create -y -n ltd -c conda-forge ltd-conveyor &&
conda activate ltd
)
}
set -o xtrace
GIT_REF=${LSST_REFS// /-}
ln -s ../../_doxygen/html/cpp-api build/pipelines_lsst_io/_build/html/cpp-api
Expand Down

0 comments on commit bb8429d

Please sign in to comment.