File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ if (( USE_R )) {
124
124
125
125
# Run conda install!
126
126
CONDA_FLAGS=( --yes --quiet $SOLVER )
127
+ # For set -x:
128
+ PS4=" %1N"
127
129
set -x
128
130
if (( INSTALL_DEPS )) conda install $CONDA_FLAGS -c conda-forge $LIST
129
131
conda install $CONDA_FLAGS $PKG
Original file line number Diff line number Diff line change @@ -226,11 +226,15 @@ downloads()
226
226
# Download and install both Minicondas:
227
227
mkdir -pv $WORKSPACE /downloads
228
228
cd $WORKSPACE /downloads
229
- if [[ ! -f $MINICONDA ]] \
230
- wget --no-verbose https://repo.anaconda.com/miniconda/$MINICONDA
229
+ if [[ ! -f $MINICONDA ]] {
230
+ log " download: $MINICONDA "
231
+ wget --no-verbose https://repo.anaconda.com/miniconda/$MINICONDA
232
+ }
231
233
foreach LABEL ( build install ) \
232
- if [[ ! -d $WORKSPACE /sfw/Miniconda-$LABEL ]] \
234
+ if [[ ! -d $WORKSPACE /sfw/Miniconda-$LABEL ]] {
235
+ log " install: $WORKSPACE /sfw/Miniconda-$LABEL "
233
236
bash $MINICONDA -b -p $WORKSPACE /sfw/Miniconda-$LABEL
237
+ }
234
238
end
235
239
)
236
240
log " DOWNLOADS OK."
@@ -317,13 +321,15 @@ print
317
321
task $SWIFT_T /dev/conda/conda-install.sh $USE_R $PKG
318
322
319
323
log " TRY SWIFT/T..."
320
- (
321
- set -x
324
+ () {
322
325
PATH=$WORKSPACE /sfw/Miniconda-install/bin:$PATH
326
+ # For set -x:
327
+ PS4=" %1N"
328
+ set -x
323
329
which swift-t
324
330
swift-t -v
325
331
swift-t -E ' trace(42);'
326
- )
332
+ }
327
333
print
328
334
log " SWIFT/T OK."
329
335
log " PKG=$PKG "
You can’t perform that action at this time.
0 commit comments