mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-04-05 05:29:14 +02:00
Fix wrong file name in entrypoint dockcross -> dockcross.sh
Fix wrong file name in entrypoint dockcross -> dockcross.sh Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
94732183a1
commit
8f19ce75f0
@ -7,13 +7,13 @@ if [[ $# == 0 ]]; then
|
|||||||
# Presumably the image has been run directly, so help the user get
|
# Presumably the image has been run directly, so help the user get
|
||||||
# started by outputting the dockcross script
|
# started by outputting the dockcross script
|
||||||
if [[ -n $DEFAULT_DOCKCROSS_IMAGE ]]; then
|
if [[ -n $DEFAULT_DOCKCROSS_IMAGE ]]; then
|
||||||
head -n 2 /dockcross/dockcross
|
head -n 2 /dockcross/dockcross.sh
|
||||||
echo "DEFAULT_DOCKCROSS_IMAGE=$DEFAULT_DOCKCROSS_IMAGE"
|
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" |
|
||||||
sed -e "s@dockcross\-linux\-armv7@${DEFAULT_DOCKCROSS_IMAGE//[\/:]/-}@g"
|
sed -e "s@dockcross\-linux\-armv7@${DEFAULT_DOCKCROSS_IMAGE//[\/:]/-}@g"
|
||||||
else
|
else
|
||||||
cat /dockcross/dockcross
|
cat /dockcross/dockcross.sh
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user