summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-emacs8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/update-emacs b/bin/update-emacs
new file mode 100755
index 0000000..8f3a932
--- /dev/null
+++ b/bin/update-emacs
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ $(uname) != "Darwin" ]; then
+  echo "This script only works for OS X."
+  exit 1
+fi
+
+brew upgrade emacs --HEAD