From b55cf31e4b58bee36e94f10b1f57fa74375e0bec Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Thu, 4 Feb 2016 16:00:28 +0100 Subject: [PATCH] Patch a bug leading to add extra quote to command line parametters Former-commit-id: f84fd562054be66141b10621da80c9bd8817a93e Former-commit-id: be585a9ed7e20e2ecd2898b575b5efd2c7ceea22 --- org-annotate.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org-annotate.sh b/org-annotate.sh index f7cb9a6..ef307f5 100755 --- a/org-annotate.sh +++ b/org-annotate.sh @@ -29,7 +29,7 @@ then exit 1 fi -set -- $options +eval set -- "$options" while [ $# -gt 0 ] do @@ -63,13 +63,14 @@ pushTmpDir ORG.organnot else QUERY="$1" fi + RESULTS=$(basename ${QUERY/.*/}) LOG="${CALL_DIR}/${RESULTS}.log" rm -f ${LOG} openLogFile ${LOG} - + if [ "$irdetection"=="yes" ]; then loginfo "Normalizing the structure of the Chloroplast sequence..."