From 9d5a562407f4aad90b6c51ac560b2f2010d5bd6f Mon Sep 17 00:00:00 2001 From: cspargo <4132393+cspargo@users.noreply.github.com> Date: Sat, 29 Jan 2022 08:24:52 +1100 Subject: [PATCH] fix: use copy instead of move (#1066) * fix: use copy instead of move Co-authored-by: Colin Spargo --- runner/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runner/entrypoint.sh b/runner/entrypoint.sh index 3cdd987d..ec362cf9 100755 --- a/runner/entrypoint.sh +++ b/runner/entrypoint.sh @@ -79,7 +79,8 @@ fi # if this is not a testing environment if [ -z "${UNITTEST:-}" ]; then sudo chown -R runner:docker ${RUNNER_HOME} - mv /runnertmp/* ${RUNNER_HOME}/ + # use cp over mv to avoid issues when /runnertmp and {RUNNER_HOME} are on different devices + cp -r /runnertmp/* ${RUNNER_HOME}/ fi cd ${RUNNER_HOME}