Skip to content

Commit a70d27b

Browse files
committed
Fixed input relative path handling
1 parent f3d863d commit a70d27b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sample-work-to-measure/run-downloaded-NXF-and-amplicon-analysis-pipeline.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
scriptDir="$(dirname "$(realpath "$0")")"
44

5-
if [ $# -ge 1 ] ; then
6-
workdir="$1"
7-
outputdir="$2"
5+
if [ $# -ge 2 ] ; then
6+
workdir="$(realpath "$1")"
7+
outputdir="$(realpath "$2")"
88
else
99
echo "Usage: $0 {workdir} {outputdir}"
1010
exit 1

0 commit comments

Comments
 (0)