mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01: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
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user