diff --git a/GenoLayout.sh b/GenoLayout.sh index f981cd162ca421c4b7411b249acceed098139462..85654087d506d1e38bab13aa8c13042bdcb4e8d3 100755 --- a/GenoLayout.sh +++ b/GenoLayout.sh @@ -370,7 +370,7 @@ echo " [ok]" >&2 ; shift 1 ; -for FASTA in $(ls $@) +for FASTA in $@ do if [ ! -e $FASTA ]; then echo "file not found: $FASTA" >&2 ; continue; fi if [ -d $FASTA ]; then echo "not a file: $FASTA" >&2 ; continue; fi