aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-18 02:30:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-18 02:30:38 -0300
commit92f22f6fc38f30944064f37e0f31d147f50d05c7 (patch)
tree2f77d37d41ca5e3dc49dbb508479d19d3a266dac /files
parent292d09d068d2efa2b310ff84ef0e9cf57f1cb421 (diff)
downloadpuppet-backup-92f22f6fc38f30944064f37e0f31d147f50d05c7.tar.gz
puppet-backup-92f22f6fc38f30944064f37e0f31d147f50d05c7.tar.bz2
Use 'git config --local' at sync-media
Diffstat (limited to 'files')
-rw-r--r--files/sync-media4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/sync-media b/files/sync-media
index 8a4d3c4..ec3a8e6 100644
--- a/files/sync-media
+++ b/files/sync-media
@@ -15,9 +15,9 @@ OPTIONS="$*"
# Fix identity
function sync_media_identity {
- if [ -z "`git config user.email`" ] || [ -z "`git config user.name`" ]; then
+ if [ -z "`git config --local user.email`" ] || [ -z "`git config --local user.name`" ]; then
repo="$(basename `pwd`)"
- git config user.name "$repo asset manager"
+ git config user.name "${repo^} Asset Manager"
git config user.email "$repo@assset.manager"
fi
}