Skip to content

Commit 517b9c7

Browse files
authored
Merge pull request #4 from zacherydickson/master
Allowed input_data to be symbolic links
2 parents 2ded56e + 07c81f9 commit 517b9c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TRACESPipe.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ CHECK_META_INFO () {
166166
#
167167
#
168168
CHECK_GZIP_FILES () {
169-
FILE_GZ1=`file ../input_data/$1 | grep gzip | wc -l`;
170-
FILE_GZ2=`file ../input_data/$2 | grep gzip | wc -l`;
169+
FILE_GZ1=`file -L ../input_data/$1 | grep gzip | wc -l`;
170+
FILE_GZ2=`file -L ../input_data/$2 | grep gzip | wc -l`;
171171
if [[ "$FILE_GZ1" != "1" ]] || [[ "$FILE_GZ2" != "1" ]];
172172
then
173173
echo -e "\e[31mERROR: the input reads are not gzipped!\e[0m"

0 commit comments

Comments
 (0)