# HG changeset patch
# User pjbriggs
# Date 1545039548 18000
# Node ID 51b771646466238f31be54831045983a449de985
# Parent 59054f086ecaae3ee43593c8c2b107ab17d2494e
Uploaded fix from Marius van den Beek (make readlink more portable)
diff -r 59054f086eca -r 51b771646466 trimmomatic_macros.xml
--- a/trimmomatic_macros.xml Fri Oct 05 05:19:17 2018 -0400
+++ b/trimmomatic_macros.xml Mon Dec 17 04:39:08 2018 -0500
@@ -3,6 +3,6 @@
Set the path for the trimmomatic JAR and data files
Based on https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/snpsift/snpSift_macros.xml#L13
-->
- if [ -z "\$TRIMMOMATIC_JAR_PATH" ]; then export TRIMMOMATIC_JAR_PATH=\$(dirname \$(readlink -e \$(which trimmomatic))); fi
- if [ -z "\$TRIMMOMATIC_ADAPTERS_PATH" ]; then export TRIMMOMATIC_ADAPTERS_PATH=\$(dirname \$(readlink -e \$(which trimmomatic)))/adapters; fi
+ if [ -z "\$TRIMMOMATIC_JAR_PATH" ]; then export TRIMMOMATIC_JAR_PATH=\$(dirname \$(readlink -f \$(which trimmomatic))); fi
+ if [ -z "\$TRIMMOMATIC_ADAPTERS_PATH" ]; then export TRIMMOMATIC_ADAPTERS_PATH=\$(dirname \$(readlink -f \$(which trimmomatic)))/adapters; fi