From 6c079f7d07bb745a56680a51616eb13a877f9b3c Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 1 Jul 2013 21:51:56 -0700 Subject: [PATCH] use git instead of mr --- update_org_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_org_files b/update_org_files index b11a661..d7cec3e 100755 --- a/update_org_files +++ b/update_org_files @@ -4,7 +4,7 @@ cd ~; for a in $(mr list |grep 'list:'|grep -v 'finished'|awk -F'list: ' '{print $2}' 2>/dev/null); do (cd "$a"; - if mr --no-recurse status |grep '^ M'|grep -q '.org$'; then + if git status --porcelain|grep '^ M'|grep -q '.org$'; then git commit -m'update org files' $(mr --no-recurse status |grep '^ M'|grep '.org$'|sed 's/^ M//g'); git push; fi; -- 2.39.2