mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
dockcross: Do not try to use -ti under MSYS
Avoid errors, complaints, and suggestions to use winpty.
This commit is contained in:
parent
17ecb746ec
commit
49f7fc05fe
@ -215,7 +215,8 @@ fi
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# Now, finally, run the command in a container
|
# Now, finally, run the command in a container
|
||||||
#
|
#
|
||||||
tty -s && TTY_ARGS=-ti || TTY_ARGS=
|
TTY_ARGS=
|
||||||
|
tty -s && [ -z "$MSYS" ] && TTY_ARGS=-ti
|
||||||
CONTAINER_NAME=dockcross_$RANDOM
|
CONTAINER_NAME=dockcross_$RANDOM
|
||||||
docker run $TTY_ARGS --name $CONTAINER_NAME \
|
docker run $TTY_ARGS --name $CONTAINER_NAME \
|
||||||
-v "$HOST_PWD":/work \
|
-v "$HOST_PWD":/work \
|
||||||
|
Loading…
Reference in New Issue
Block a user