Skip to content

Commit

Permalink
ScalarInstall: configure GCM
Browse files Browse the repository at this point in the history
  • Loading branch information
jamill committed Aug 30, 2019
1 parent 11879c9 commit 8406443
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Scripts/Mac/InstallScalarTemplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ echo "=============================="
echo "Installing GCM Core"
sudo /usr/sbin/installer -pkg "$SCALAR_DISTRIBUTION_ROOT/GCM/$GCM_CORE_INSTALLER_PKG" -target /

# Configure GCM
# GCM Core installer does not current configure itself properly in all scenarios
# Configure it here to ensure it is configured correctly
echo ""
echo "=============================="
echo "Configuring Git to use GCM"
sudo /usr/local/bin/git config --system credential.helper /usr/local/share/gcm-core/git-credential-manager
sudo /usr/local/bin/git config --system credential.dev.azure.com.usehttppath true

# Install Scalar
echo ""
echo "=============================="
Expand Down

0 comments on commit 8406443

Please sign in to comment.