mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-19 15:01:45 +03:00
11 lines
404 B
Bash
11 lines
404 B
Bash
|
# dc.services.visualstudio.com
|
||
|
# vortex.data.microsoft.com
|
||
|
TELEMETRY_URLS="(dc\.services\.visualstudio\.com)|(vortex\.data\.microsoft\.com)"
|
||
|
REPLACEMENT="s/$TELEMETRY_URLS/0\.0\.0\.0/g"
|
||
|
|
||
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||
|
grep -rl --exclude-dir=.git -E $TELEMETRY_URLS . | xargs sed -i '' -E $REPLACEMENT
|
||
|
else
|
||
|
grep -rl --exclude-dir=.git -E $TELEMETRY_URLS . | xargs sed -i -E $REPLACEMENT
|
||
|
fi
|