diff options
-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 } |