Skip to content

Commit

Permalink
Update lazy native installation condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kahsieh committed Jul 9, 2018
1 parent 0960db9 commit 9c7fbd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ SAMPLE=`basename "$UNMAPPED_READS" | sed 's \([^\.]*\)\..* \1 '`
DB="$DIR/db_$ORGANISM"

# Perform lazy native installation if needed.
if [ ! -d "$DB" ]; then
if [ ! -h "$DB" ] && [ ! -d "$DB" ]; then
echo 'Performing a lazy native installation. This might take some time.' >&2
cd "$DIR"
./install.sh -n
./install.sh -no $ORGANISM
fi

# Duplicate stdout and stderr to the log file. Print commands if selected.
Expand Down

0 comments on commit 9c7fbd9

Please sign in to comment.