aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-05-26 11:54:51 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-05-26 11:54:51 +0200
commit3c638451ba9842e33c5e0b83433ca406c64a3bb4 (patch)
tree04d0a26a58aeb84ee0e833d48d0a7dbc1ba5c0ef /bin
parentc7f58dd7f0d76965a33378626ddeed3d8915d0d8 (diff)
downloaddotty-3c638451ba9842e33c5e0b83433ca406c64a3bb4.tar.gz
dotty-3c638451ba9842e33c5e0b83433ca406c64a3bb4.tar.bz2
dotty-3c638451ba9842e33c5e0b83433ca406c64a3bb4.zip
silence `cd` in script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dotr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dotr b/bin/dotr
index cac1114b2..ee113b706 100755
--- a/bin/dotr
+++ b/bin/dotr
@@ -6,7 +6,7 @@ if [[ "$DOTTY_ROOT" == "" ]]; then
DOTTY_ROOT="$0"
fi
DOTTY_ROOT="$(dirname "$DOTTY_ROOT")"
-DOTTY_ROOT="$( cd "$DOTTY_ROOT" && pwd )/.." # absolute
+DOTTY_ROOT="$( cd "$DOTTY_ROOT" >& /dev/null && pwd )/.." # absolute
# CLASS_PATH is derived from the DOTTY_ROOT
CLASS_PATH="-J-Xbootclasspath/a:.:$DOTTY_ROOT/target/scala-2.11/classes/"