Skip to content

Commit 849cfa8

Browse files
committed
Added set -e failsafes to scripts.
1 parent f526183 commit 849cfa8

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

helper-scripts/database-downloader.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#4Pipe4 that require these databases.
2222

2323
#Define some variables:
24+
set -e
25+
set -o pipefail
2426
univec_url="ftp://ftp.ncbi.nih.gov/pub/UniVec/UniVec"
2527
nr_url="ftp://ftp.ncbi.nlm.nih.gov/blast/db/"
2628

helper-scripts/emboss-user-installer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#required emboss programs to run 4Pipe4.
2020

2121
#Define some variables:
22+
set -e
23+
set -o pipefail
2224
emboss_url="ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-6.6.0.tar.gz"
2325

2426
#Create a working dir

helper-scripts/rc-generator.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#the other helper scripts and generate a template for your 4Pipe4rc file.
2020
#You still have to fill things like the Univec database and the assmebly
2121
#parameters!
22+
set -e
23+
set -o pipefail
2224

2325
workdir=~/Software
2426
datadir=~/Databases

0 commit comments

Comments
 (0)