diff options
author | Ondrej Lhotak <olhotak@uwaterloo.ca> | 2016-05-20 10:40:53 -0400 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-05-25 13:40:00 +0200 |
commit | e8e6265bae73f9dd85e78426a9142faca163ae06 (patch) | |
tree | e54ac005c999db0e70157188f2780161f50910f6 /bin/dotc | |
parent | 134ad7a6a172fec97dc438dd0aff3766a0f0944a (diff) | |
download | dotty-e8e6265bae73f9dd85e78426a9142faca163ae06.tar.gz dotty-e8e6265bae73f9dd85e78426a9142faca163ae06.tar.bz2 dotty-e8e6265bae73f9dd85e78426a9142faca163ae06.zip |
fix newline in DOTTY_ROOT when cd produces output
Diffstat (limited to 'bin/dotc')
-rwxr-xr-x | bin/dotc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,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 # Finds in dotty build file a line containing PATTERN # returns last "" escaped string in this line |