From c82997e3b3eb0fdd225de7e970c8f6158dd32356 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 11 Dec 2014 10:08:27 +0100 Subject: [PATCH] Ensure `script/validate-gofmt` is executed with bash While Travis does that, a user just running the script will get an error. Signed-off-by: Vincent Bernat --- script/validate-gofmt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/validate-gofmt b/script/validate-gofmt index 41688b0c01..c565976b41 100755 --- a/script/validate-gofmt +++ b/script/validate-gofmt @@ -1,3 +1,5 @@ +#!/bin/bash + source "$(dirname "$BASH_SOURCE")/.validate" IFS=$'\n'