From eda944c2e1bcfb1e7d34cce33c7b0b9f1f6824db Mon Sep 17 00:00:00 2001 From: pi-rho Date: Fri, 15 Sep 2017 10:18:13 -0600 Subject: [PATCH] posixify devel.sh in case someone wants to run this on a wristwatch or a poorly designed box that doesn't have modern bash --- devel.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/devel.sh b/devel.sh index 86675e9..d79d263 100755 --- a/devel.sh +++ b/devel.sh @@ -1,8 +1,10 @@ -#!/bin/bash -e +#!/bin/sh # # Script to clone and start a development server -if [[ -f tools/devel-server.py ]]; then +set -e + +if [ -f tools/devel-server.py ]; then cat <