Skip to content

Commit 3c63845

Browse files
committed
silence cd in script
1 parent c7f58dd commit 3c63845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/dotr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ "$DOTTY_ROOT" == "" ]]; then
66
DOTTY_ROOT="$0"
77
fi
88
DOTTY_ROOT="$(dirname "$DOTTY_ROOT")"
9-
DOTTY_ROOT="$( cd "$DOTTY_ROOT" && pwd )/.." # absolute
9+
DOTTY_ROOT="$( cd "$DOTTY_ROOT" >& /dev/null && pwd )/.." # absolute
1010

1111
# CLASS_PATH is derived from the DOTTY_ROOT
1212
CLASS_PATH="-J-Xbootclasspath/a:.:$DOTTY_ROOT/target/scala-2.11/classes/"

0 commit comments

Comments
 (0)