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