From 97b846fec2635d623cd0e4350797428668a04053 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 28 May 2018 04:38:29 -0400 Subject: [PATCH] Updated update script --- update | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/update b/update index d3347ab..183d25c 100755 --- a/update +++ b/update @@ -1,4 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash +set -e + +BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +cd "${BASEDIR}" git submodule update --recursive --remote