Skip to content

Commit ca3facc

Browse files
committed
Corrected a bug in the database downloader.
1 parent 61f6911 commit ca3facc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

helper-scripts/database-downloader.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ echo "Downloading the nr databse... This *will* take a while, please be patient.
3838
wget -c $nr_url/nr* -P $datadir/nr/
3939

4040
#Uncompress the files
41-
tar xfvz $datadir/nr/*.gz -C $datadir/nr
41+
chmod 744 $datadir/nr -R
42+
for i in $datadir/nr/*
43+
do
44+
tar xfvz $i -C $datadir/nr
45+
done
4246

4347
echo ""
4448
echo "If no errors occurred, (dead links, etc..) both the nr and Univec \
4549
databases are now readt to use in your system."
4650
echo "Please add the correct paths to your 4Pipe4rc file."
47-
echo ""
51+
echo ""

0 commit comments

Comments
 (0)