Skip to content

Commit

Permalink
Test for empty directory, not if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
yeganer committed Sep 8, 2017
1 parent 64c30bc commit ce6c76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/before_install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if [[ $SETUP_CMD == *coverage* ]]; then
conda install -c conda-forge git-lfs=2.2.1 -y
git lfs install --skip-smudge
if [ ! -d "$HOME/tardis-refdata" ]; then
if [ ! "$(ls -A $HOME/tardis-refdata)" ]; then
git clone $TARDIS_REF_DATA_URL $HOME/tardis-refdata
fi
cd $HOME/tardis-refdata
Expand Down

0 comments on commit ce6c76f

Please sign in to comment.