Skip to content

Commit

Permalink
Replace the bash shell path according to this: nextflow-io/nextflow#2341
Browse files Browse the repository at this point in the history
  • Loading branch information
TomYipOracle committed Nov 29, 2021
1 parent 2ee8a1d commit 8375df6
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/install_conda.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail

echo Install Conda .. >> artifacts/test_artifact.log
Expand All @@ -8,7 +8,7 @@ sudo apt-get update --fix-missing && sudo apt-get install -y wget bzip2 ca-certi
libglib2.0-0 libxext6 libsm6 libxrender1 \
git mercurial subversion
wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
/usr/bin/env bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/install_singularity.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail

echo Install Singularity dependencies.. >> artifacts/test_artifact.log
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_PR_against_release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_bed_ref_input.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_conda_cache.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_cram_input.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_cram_output.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_nanopore_pipelines.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_sanger_profile.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_typing.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
export PATH=/opt/conda/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ profiles {
includeConfig 'conf/coguk.config'

// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']
process.shell = ['/usr/bin/env bash', '-euo', 'pipefail']

manifest {
author = 'Matt Bull'
Expand Down
2 changes: 1 addition & 1 deletion tests/GPAS_tests.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

rm -rf /work/runs/*_test /work/output/*_test

Expand Down
2 changes: 1 addition & 1 deletion tests/GPAS_tests_just_summaries.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#source ~/env/bin/activate

# ont_artic_test
Expand Down
2 changes: 1 addition & 1 deletion tests/GPAS_tests_short.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash


echo \
Expand Down
2 changes: 1 addition & 1 deletion tests/update_expected.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

tests="ont_artic
ont_viridian
Expand Down
2 changes: 1 addition & 1 deletion tests/update_expected_short.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

tests="ont_artic_short
ont_viridian_short
Expand Down

0 comments on commit 8375df6

Please sign in to comment.