From 38aec96474af4664e5df3099faaa9e45fa83c09b Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 20 Apr 2018 10:59:13 -0700 Subject: [PATCH] Fix pkg/core/gen.sh so that make works on linux --- pkg/core/gen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/gen.sh b/pkg/core/gen.sh index e170d348..04c33b7d 100755 --- a/pkg/core/gen.sh +++ b/pkg/core/gen.sh @@ -2,8 +2,8 @@ set -e -cd $(dirname "${BASH_SOURCE[0]}") -export CommandsJSON=$(cat commands.json) +cd $(dirname $0) +export CommandsJSON="$(cat commands.json)" # replace out the json perl -pe '