From 8f19ce75f0d5844b51bd4aab7098ff3668e4f7c1 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Wed, 4 Aug 2021 11:17:08 +0200 Subject: [PATCH] Fix wrong file name in entrypoint dockcross -> dockcross.sh Fix wrong file name in entrypoint dockcross -> dockcross.sh Signed-off-by: Bensuperpc --- imagefiles/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imagefiles/entrypoint.sh b/imagefiles/entrypoint.sh index 103ab14..6b24ac8 100755 --- a/imagefiles/entrypoint.sh +++ b/imagefiles/entrypoint.sh @@ -7,13 +7,13 @@ if [[ $# == 0 ]]; then # Presumably the image has been run directly, so help the user get # started by outputting the dockcross script if [[ -n $DEFAULT_DOCKCROSS_IMAGE ]]; then - head -n 2 /dockcross/dockcross + head -n 2 /dockcross/dockcross.sh echo "DEFAULT_DOCKCROSS_IMAGE=$DEFAULT_DOCKCROSS_IMAGE" - tail -n +4 /dockcross/dockcross | + tail -n +4 /dockcross/dockcross.sh | sed -e "s@dockcross\/linux\-armv7@${DEFAULT_DOCKCROSS_IMAGE}@g" | sed -e "s@dockcross\-linux\-armv7@${DEFAULT_DOCKCROSS_IMAGE//[\/:]/-}@g" else - cat /dockcross/dockcross + cat /dockcross/dockcross.sh fi exit 0 fi