Commit 21b341de by Jessica Hawkwell

Update mvn-entrypoint.sh

1 parent a92ce6b4
Pipeline #168 passed
in 1 minute 5 seconds
Showing with 2 additions and 2 deletions
......@@ -26,13 +26,13 @@ copy_reference_files() {
if (touch "${log}" > /dev/null 2>&1)
then
echo "--- Copying files at $(date)" >> "$log"
find /usr/share/maven/ref/ -type f -exec bash -eu -c 'copy_reference_file /usr/share/maven/ref/ "$1" "$2"' _ {} "$log" \;
find /usr/share/maven/ref/ -type f -exec sh -c 'copy_reference_file /usr/share/maven/ref/ "$1" "$2"' _ {} "$log" \;
else
echo "Can not write to ${log}. Wrong volume permissions? Carrying on ..."
fi
}
export -f copy_reference_file
export copy_reference_file
copy_reference_files
exec "$@"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!