Browse files

Don't modify paths if --preserve-prefix option is used.

All compilation output goes into staging directory in this case. There
is no reason to check if there is some colision with some existing
directories in this case.
  • Loading branch information...
1 parent 988af0b commit 65900bfb3408c710482426d6b971ac92ddc36488 @voxik committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure
@@ -144,7 +144,7 @@ class Configure
def expand_install_dir(dir)
dir = expand dir
- if and dir !~ /(rubinius|rbx).*\/?$/
+ if !@preserve_prefix and and dir !~ /(rubinius|rbx).*\/?$/
original = dir
dir += "/rubinius/#{@libversion}"
@log.write "The directory #{original} already exists, installing to #{dir}"

0 comments on commit 65900bf

Please sign in to comment.