Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1053)

Unified Diff: ports/devenv/bashrc

Issue 1071783003: Add root certificate bundle to curl package, and improve git default setup. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/curl/build.sh ('k') | ports/devenv/setup-environment » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/devenv/bashrc
diff --git a/ports/devenv/bashrc b/ports/devenv/bashrc
index f68866051dcc91b716e88c1aedae186a562baa59..babbee2830353cd68fef40df11897d329c6fadad 100755
--- a/ports/devenv/bashrc
+++ b/ports/devenv/bashrc
@@ -12,6 +12,19 @@ source /mnt/http/setup-environment
/mnt/http/install-base-packages.sh
+# TODO(bradnelson): Drop this when we can install things in a more
+# normal location and when we include the git templates in the normal
+# location.
+# Disabling templatedir as our git package lacks a default template set.
+# Setiing up a default git identity, since we lack /etc/passwd as
Sam Clegg 2015/04/10 21:02:11 Setting
+# a fallback.
+# Setup default .gitconfig if it doesn't already exist.
+if [ ! -e /home/user/.gitconfig ]; then
+ git config --global init.templatedir ""
+ git config --global user.name "John Doe"
+ git config --global user.email "john.doe@foo.com"
+fi
+
# Setup environment again, to rescan the packages added.
source /mnt/http/setup-environment
« no previous file with comments | « ports/curl/build.sh ('k') | ports/devenv/setup-environment » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698