changeset 12:1a143426370c draft

Uploaded
author hyungrolee
date Mon, 15 Feb 2016 04:15:01 -0500
parents 89461b062f91
children 3d8b6dfd5743
files mgescan.sh
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mgescan.sh	Mon Feb 15 04:08:37 2016 -0500
+++ b/mgescan.sh	Mon Feb 15 04:15:01 2016 -0500
@@ -51,9 +51,7 @@
 
 #set path for transeq
 #export PATH=$user_dir/mgescan/EMBOSS/bin:/usr/bin:$PATH
-transeq --version 2> /dev/null
-res=$?
-if [ 0 -ne $res ]
+if [ "" == "`which transeq`" ]
 then
 	echo "EMBOSS is not available."
 	exit