diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-18 02:30:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-18 02:30:38 -0300 |
commit | 92f22f6fc38f30944064f37e0f31d147f50d05c7 (patch) | |
tree | 2f77d37d41ca5e3dc49dbb508479d19d3a266dac /files/sync-media | |
parent | 292d09d068d2efa2b310ff84ef0e9cf57f1cb421 (diff) | |
download | puppet-backup-92f22f6fc38f30944064f37e0f31d147f50d05c7.tar.gz puppet-backup-92f22f6fc38f30944064f37e0f31d147f50d05c7.tar.bz2 |
Use 'git config --local' at sync-media
Diffstat (limited to 'files/sync-media')
-rw-r--r-- | files/sync-media | 4 |
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 } |