Skip to content

Commit 2064440

Browse files
committed
bin/common: make check_jar work outside of dotty root
1 parent dfa3280 commit 2064440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fi
103103
function check_jar {
104104
# Usage:
105105
# check_jar "name" "path/to/package.jar" "sources/dir" 'lambda to exec on failure'
106-
local new_files="$(find "$3" \( -iname "*.scala" -o -iname "*.java" \) -newer "$2")"
106+
local new_files="$(find "$DOTTY_ROOT/$3" \( -iname "*.scala" -o -iname "*.java" \) -newer "$2")"
107107
if [ ! -z "$new_files" ]; then
108108
printf "New files detected in $1, rebuilding..."
109109
eval "$4"

0 commit comments

Comments
 (0)