From 9b5045bb9154257eea1b10d8f125fd28102c6439 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 26 Jan 2015 17:00:28 +1100 Subject: [PATCH] revert back to simpler osx-only test browser opening --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c588acd91c..4e7d32dcb9 100644 --- a/Makefile +++ b/Makefile @@ -64,10 +64,7 @@ test-browser: node $(BROWSERIFY_CMD) -e test/_browser.js >dist/6to5-test.js rm -rf templates.json tests.json - if [ -n $$BROWSER ]; then $$BROWSER test/browser.html; \ - elif which xdg-open > /dev/null; then xdg-open 'test/browser.html'; \ - elif which gnome-open > /dev/null; then gnome-open 'test/browser.html'; \ - elif which open > /dev/null; then open 'test/browser.html'; fi \ + test -n "`which open`" && open test/browser.html publish: git pull --rebase