Permalink
Browse files

add an email script

  • Loading branch information...
1 parent 32f8181 commit 598792fcb193d3e2975b32b1e52fddbfe8ec7c96 @grawity grawity committed Jan 17, 2014
Showing with 7 additions and 2 deletions.
  1. +4 −1 Makefile
  2. +3 −1 scripts/pull
View
@@ -1,5 +1,8 @@
-update:
+reload:
@scripts/check && sudo rndc reload
check:
@scripts/check
+
+pulled:
+ @scripts/blame -m $(OLD) && sudo rndc reload
View
@@ -1,3 +1,5 @@
#!/bin/sh
-cd /cluenet/dns && git pull --ff-only && make
+cd /cluenet/dns && {
+ OLD=$(git rev-parse HEAD) && git pull --ff-only && make OLD="$OLD" pulled
+}

0 comments on commit 598792f

Please sign in to comment.