summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-11-11 00:20:44 +0100
committertv <tv@krebsco.de>2016-11-11 00:26:37 +0100
commitc113487f73713a03b1a139b22bb34b86234d0495 (patch)
tree5a14e7cc13e66f96db9fc45bd465cf7fd4da7d59 /retiolum
parentc80fa0721e99f700ed0ef1fb68caa8954f9ebca0 (diff)
github_hosts_sync: config user.{email,name}krebscode/masterkrebscode/HEAD
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/scripts/github_hosts_sync/hosts-sync2
1 files changed, 2 insertions, 0 deletions
diff --git a/retiolum/scripts/github_hosts_sync/hosts-sync b/retiolum/scripts/github_hosts_sync/hosts-sync
index 53c96efd..f36c700d 100755
--- a/retiolum/scripts/github_hosts_sync/hosts-sync
+++ b/retiolum/scripts/github_hosts_sync/hosts-sync
@@ -51,6 +51,8 @@ do_work() {
cd "$local_hosts"
find . -name .git -prune -o -type f -exec git add \{\} \; >&2
if git status --porcelain | grep -q .; then
+ git config user.email "$LOGNAME@$(hostname)"
+ git config user.name "$LOGNAME"
git commit -m bump >&2
git push >&2
fi