From 2c25be776fd76c2e0b2ea036964373a201cb3733 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Nov 2016 07:11:39 -0800 Subject: [bin] Add a script to update Emacs. --- bin/update-emacs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/update-emacs 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 -- cgit 1.4.1