1
0
Fork 0

Fix make validate on MacOS outside container

This commit is contained in:
Damien Duportal 2019-05-06 09:40:04 +02:00 committed by Traefiker Bot
parent 79ad4b4544
commit 72397ef90c
4 changed files with 7 additions and 6 deletions

View file

@ -3,14 +3,14 @@ set -o errexit
set -o pipefail
set -o nounset
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"; export SCRIPT_DIR
SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export SCRIPT_DIR
vendor_dir="./vendor/"
# We run dep install to and see if we have a diff afterwards
echo "checking ${vendor_dir} for unintentional changes..."
dep ensure -v
(${SCRIPT_DIR}/prune-dep.sh)
("${SCRIPT_DIR}"/prune-dep.sh)
# Let see if the working directory is clean
diffs="$(git status --porcelain -- ${vendor_dir} 2>/dev/null)"