diff options
author | tv <tv@shackspace.de> | 2014-07-15 12:42:25 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-07-15 12:42:25 +0200 |
commit | 67073e97c7abf97503f75d96e2102f8cc45e42a1 (patch) | |
tree | 9926cd862597f25964f54f50c9f7dc6ca5f7e70c | |
parent | edd937a27961d3584297c048fbced3f95ef1310a (diff) |
Reaktor nag: git pull|grep -v 'Already up-to-date'
-rwxr-xr-x | commands/nag | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/nag b/commands/nag index e5380fc..2b33d5e 100755 --- a/commands/nag +++ b/commands/nag @@ -9,15 +9,15 @@ fi trap 'rm -f nag.hosts.ls nag.services.ls nag.patch' EXIT INT QUIT if ! test -d nag.hosts; then - git clone "$hosts_repo" nag.hosts | grep -v 'Alreay up-to-date.' + git clone "$hosts_repo" nag.hosts else - (cd nag.hosts && git pull) + (cd nag.hosts && git pull) | grep -v 'Already up-to-date.' fi if ! test -d nag.services; then - git clone "$services_repo" nag.services | grep -v 'Already up-to-date.' + git clone "$services_repo" nag.services else - (cd nag.services && git pull) + (cd nag.services && git pull) | grep -v 'Already up-to-date.' fi |