]> gitweb.pimeys.fr Git - config-20-100.git/commitdiff
[.bashrc] GIT_* : quotes
authorVincent Le Gallic <legallic@crans.org>
Sat, 5 Apr 2014 21:40:53 +0000 (23:40 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sat, 5 Apr 2014 21:40:53 +0000 (23:40 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index 77b0a2df1249511f1e103c923cc166f7bc396157..622af0e625b8f0256b8c31f54062690e0271edd9 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>"
-export GIT_AUTHOR_NAME=$(git config user.name)
-export GIT_AUTHOR_EMAIL=$(git config user.email)
+export GIT_AUTHOR_NAME="$(git config user.name)"
+export GIT_AUTHOR_EMAIL="$(git config user.email)"
 
 # +----------+
 # | Sourcing |