You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
179 B
Bash
10 lines
179 B
Bash
8 months ago
|
#!/bin/sh
|
||
|
command_exists () {
|
||
|
command -v "$1" >/dev/null 2>&1
|
||
|
}
|
||
|
|
||
|
# Workaround for Windows 10, Git Bash and Yarn
|
||
|
if command_exists winpty && test -t 1; then
|
||
|
exec < /dev/tty
|
||
|
fi
|