Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit c864599

Browse files
authored
Merge pull request #137 from kgalens/bugfix/issue-135-libz-ldpath
Copying shim to /usr/local/aws-cli (default cromwell path) to avoid s…
2 parents 9223dc5 + ae44c2f commit c864599

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/ecs-additions/ecs-additions-common.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ cp /opt/ecs-additions/fetch_and_run.sh /usr/local/bin
88
mv /opt/aws-cli/bin /opt/aws-cli/dist
99
chmod a+x /opt/ecs-additions/awscli-shim.sh
1010
mkdir /opt/aws-cli/bin
11-
cp /opt/ecs-additions/awscli-shim.sh /opt/aws-cli/bin/aws
11+
cp /opt/ecs-additions/awscli-shim.sh /opt/aws-cli/bin/aws # Used in Nextflow
12+
13+
# Remove current symlink
14+
rm -f /usr/local/aws-cli/v2/current/bin/aws
15+
cp /opt/ecs-additions/awscli-shim.sh /usr/local/aws-cli/v2/current/bin/aws # Used in Cromwell
1216

1317
# add 4GB of swap space
1418
dd if=/dev/zero of=/swapfile bs=128M count=32

src/ecs-additions/fetch_and_run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# See below for usage instructions.
1717

1818
#PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
19-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/aws-cli/v2/current/dist
2019
BASENAME="${0##*/}"
2120
AWS="/usr/local/aws-cli/v2/current/bin/aws"
2221

0 commit comments

Comments
 (0)