This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -627,7 +627,7 @@ function copyFile() {
627
627
if [ " $RUN_ON " = " localhost" ]; then
628
628
ln ${1/ file: \/\/ / } " $TMP_PATH /nancy_$containerHash /" # TODO: option – hard links OR regular `cp`
629
629
elif [ " $RUN_ON " = " aws" ]; then
630
- docker-machine scp $1 $DOCKER_MACHINE :/home/ubuntu
630
+ docker-machine scp $1 $DOCKER_MACHINE :/home/ubuntu/nancy_ ${containerHash}
631
631
else
632
632
>&2 echo " ASSERT: must not reach this point"
633
633
exit 1
727
727
cp " $TMP_PATH /nancy_$containerHash /" $ARTIFACTS_FILENAME .json $ARTIFACTS_DESTINATION /
728
728
cp " $TMP_PATH /nancy_$containerHash /" $ARTIFACTS_FILENAME .log.gz $ARTIFACTS_DESTINATION /
729
729
elif [ " $RUN_ON " = " aws" ]; then
730
- docker-machine scp $DOCKER_MACHINE :/home/ubuntu/$ARTIFACTS_FILENAME .json $ARTIFACTS_DESTINATION /
731
- docker-machine scp $DOCKER_MACHINE :/home/ubuntu/$ARTIFACTS_FILENAME .log.gz $ARTIFACTS_DESTINATION /
730
+ docker-machine scp $DOCKER_MACHINE :/home/ubuntu/nancy_ $containerHash / $ARTIFACTS_FILENAME .json $ARTIFACTS_DESTINATION /
731
+ docker-machine scp $DOCKER_MACHINE :/home/ubuntu/nancy_ $containerHash / $ARTIFACTS_FILENAME .log.gz $ARTIFACTS_DESTINATION /
732
732
else
733
733
>&2 echo " ASSERT: must not reach this point"
734
734
exit 1
You can’t perform that action at this time.
0 commit comments