mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Merge from vscode 2cd495805cf99b31b6926f08ff4348124b2cf73d
This commit is contained in:
committed by
AzureDataStudio
parent
a8a7559229
commit
1388493cc1
@@ -7,7 +7,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
ROOT=$(dirname "$(dirname "$(realpath "$0")")")
|
||||
else
|
||||
ROOT=$(dirname "$(dirname "$(readlink -f $0)")")
|
||||
if grep -qi Microsoft /proc/version; then
|
||||
# If the script is running in Docker using the WSL2 engine, powershell.exe won't exist
|
||||
if grep -qi Microsoft /proc/version && type powershell.exe > /dev/null 2>&1; then
|
||||
IN_WSL=true
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user