mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
Merge pull request #207 from dockcross/fix-name-of-image-in-dockcross-helptext
entrypoint.sh: Update help text so that current image name is used
This commit is contained in:
commit
9966e1aed7
@ -9,7 +9,9 @@ if [[ $# == 0 ]]; then
|
|||||||
if [[ -n $DEFAULT_DOCKCROSS_IMAGE ]]; then
|
if [[ -n $DEFAULT_DOCKCROSS_IMAGE ]]; then
|
||||||
head -n 2 /dockcross/dockcross
|
head -n 2 /dockcross/dockcross
|
||||||
echo "DEFAULT_DOCKCROSS_IMAGE=$DEFAULT_DOCKCROSS_IMAGE"
|
echo "DEFAULT_DOCKCROSS_IMAGE=$DEFAULT_DOCKCROSS_IMAGE"
|
||||||
tail -n +4 /dockcross/dockcross
|
tail -n +4 /dockcross/dockcross |
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user