]> gitweb.pimeys.fr Git - config-20-100.git/commitdiff
[.bashrc] commit as root : oubli d'export
authorVincent Le Gallic <legallic@crans.org>
Sat, 5 Apr 2014 21:28:39 +0000 (21:28 +0000)
committerVincent Le Gallic <legallic@crans.org>
Sat, 5 Apr 2014 21:28:39 +0000 (21:28 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index fa37e17981f9b3eb893704cb1a34c093276e9122..77b0a2df1249511f1e103c923cc166f7bc396157 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -341,8 +341,8 @@ PATH=~/bin:$PATH:/sbin:/usr/sbin
 # vous avez besoin de commiter en tant que root *et* que votre
 # /etc/sudoers contient bien la directive
 # Defaults env_keep += "<les variables en question>"
-GIT_AUTHOR_NAME=$(git config user.name)
-GIT_AUTHOR_EMAIL=$(git config user.email)
+export GIT_AUTHOR_NAME=$(git config user.name)
+export GIT_AUTHOR_EMAIL=$(git config user.email)
 
 # +----------+
 # | Sourcing |