Skip to content

Commit 100e62a

Browse files
committed
Attempt to improve set -x output
1 parent 99208ec commit 100e62a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

dev/conda/conda-install.sh

+9-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,14 @@ if (( USE_R )) {
125125
# Run conda install!
126126
CONDA_FLAGS=( --yes --quiet $SOLVER )
127127
# For set -x:
128-
PS4="%1N"
128+
PS4="%1N: "
129+
set -x
130+
if (( INSTALL_DEPS )) {
131+
() {
132+
set -x
133+
conda install $CONDA_FLAGS -c conda-forge $LIST
134+
}
135+
}
136+
129137
set -x
130-
if (( INSTALL_DEPS )) conda install $CONDA_FLAGS -c conda-forge $LIST
131138
conda install $CONDA_FLAGS $PKG

0 commit comments

Comments
 (0)