diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-07-17 11:50:31 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-07-17 11:50:31 +0100 |
commit | 206444003f8675d0dcfd647e6a2d4d957fcb5268 (patch) | |
tree | d27d5d408b3ef35671926cbf854ad1238576a182 /bin/common | |
parent | dfa32801f5b2c774a8c792353c1bf1d1781a4a0e (diff) | |
download | dotty-206444003f8675d0dcfd647e6a2d4d957fcb5268.tar.gz dotty-206444003f8675d0dcfd647e6a2d4d957fcb5268.tar.bz2 dotty-206444003f8675d0dcfd647e6a2d4d957fcb5268.zip |
bin/common: make check_jar work outside of dotty root
Diffstat (limited to 'bin/common')
-rwxr-xr-x | bin/common | 2 |
1 files changed, 1 insertions, 1 deletions
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" |