Skip to content

Commit 80764e0

Browse files
authored
Merge pull request #4478 from dotty-staging/quickfix-pack-cwd
Fix current working directory for building Dotty from cmdline wrappers
2 parents c63623f + bc749aa commit 80764e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/common

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ new_files="$(find "$ROOT/compiler" \( -iname "*.scala" -o -iname "*.java" \) -ne
1717

1818
if [ ! -f "$version" ] || [ ! -z "$new_files" ]; then
1919
echo "Building Dotty..."
20-
sbt "dist-bootstrapped/pack"
20+
(cd $ROOT && sbt "dist-bootstrapped/pack")
2121
fi
2222

2323
eval "$target" "$@"

0 commit comments

Comments
 (0)