From 1852e2d8e1f0e423e7f83a9aa4799b76f0911f00 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 17 Oct 2018 16:55:55 +0200 Subject: [PATCH] Include common utilities in travisci-update-readme --- scripts/travisci-update-readme | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/travisci-update-readme b/scripts/travisci-update-readme index 5ee9174..c1b5fb4 100755 --- a/scripts/travisci-update-readme +++ b/scripts/travisci-update-readme @@ -9,6 +9,9 @@ UPDATE_README_COMMIT_AUTHOR_EMAIL='michele@locati.it' UPDATE_README_COMMIT_MESSAGE='Automatically update README.md' WATCHED_FILES='data/special-requirements data/supported-extensions scripts/common scripts/update-readme scripts/travisci-update-readme' +SCRIPTS_DIR="$(CDPATH= cd -- "$(dirname -- "${0}")" && pwd)" +. "${SCRIPTS_DIR}/common" + echo 'Checking environment' if test -z "${TRAVIS_BUILD_DIR:-}" || test -z "${TRAVIS_BRANCH:-}" || test -z "${TRAVIS_EVENT_TYPE:-}" || test -z "${TRAVIS_REPO_SLUG:-}"