Não consigo rodar o arquivo sail no vs code.
09/11/2022
0
Olá companheiros, estou travado, na hora que tento rodar o arquivo com o comando sail, esta dando erro de syntax. uso wsl2. se aguem puder me ajudar.
#!/usr/bin/env bash
UNAMEOUT=$(uname -s)
# Verify operating system is supported...
case "$" in
Linux*) MACHINE=linux;;
Darwin*) MACHINE=mac;;
*) MACHINE="UNKNOWN"
esac
if [ "$MACHINE" == "UNKNOWN" ]; then
echo "Unsupported operating system [$(uname -s)]. Scriptpage Sail supports macOS, Linux, and Windows (WSL2)." >&2
exit 1
fi
-----------------------------------------------------------
erro -
sail
docker/sail: line 4: syntax error near unexpected token `newline''
''ocker/sail: line 4: `case "$" in
#!/usr/bin/env bash
UNAMEOUT=$(uname -s)
# Verify operating system is supported...
case "$" in
Linux*) MACHINE=linux;;
Darwin*) MACHINE=mac;;
*) MACHINE="UNKNOWN"
esac
if [ "$MACHINE" == "UNKNOWN" ]; then
echo "Unsupported operating system [$(uname -s)]. Scriptpage Sail supports macOS, Linux, and Windows (WSL2)." >&2
exit 1
fi
-----------------------------------------------------------
erro -
sail
docker/sail: line 4: syntax error near unexpected token `newline''
''ocker/sail: line 4: `case "$" in
Luiz Marcelo
Curtir tópico
+ 0
Responder
Clique aqui para fazer login e interagir na Comunidade :)