From 206444003f8675d0dcfd647e6a2d4d957fcb5268 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Sun, 17 Jul 2016 11:50:31 +0100 Subject: bin/common: make check_jar work outside of dotty root --- bin/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/common b/bin/common index 9b8b7a4da..3fa28788f 100755 --- a/bin/common +++ b/bin/common @@ -103,7 +103,7 @@ fi function check_jar { # Usage: # check_jar "name" "path/to/package.jar" "sources/dir" 'lambda to exec on failure' - local new_files="$(find "$3" \( -iname "*.scala" -o -iname "*.java" \) -newer "$2")" + local new_files="$(find "$DOTTY_ROOT/$3" \( -iname "*.scala" -o -iname "*.java" \) -newer "$2")" if [ ! -z "$new_files" ]; then printf "New files detected in $1, rebuilding..." eval "$4" -- cgit v1.2.3