From 15f95c73e52abb79532e12f9455a5948f8a87e8f Mon Sep 17 00:00:00 2001 From: Emma Smith Date: Thu, 31 Oct 2019 22:06:14 +0000 Subject: [PATCH] Fix incorrect shebang in buildextensions `buildextensions.sh` makes use of pushd and popd - these are bash features not present in /bin/sh, resulting in command not found errors. Additionally, adding set -e, so that script aborts on failure, for example NPM not being installed. --- core/buildextensions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/buildextensions.sh b/core/buildextensions.sh index 3723ff57..c224376e 100755 --- a/core/buildextensions.sh +++ b/core/buildextensions.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/bin/bash +set -e # halt on failure # Get the scripts absolute path pushd `dirname $0` > /dev/null SCRIPTPATH=`pwd`