Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't crash when no prefix is specified.

  • Loading branch information...
commit ec9772f2a5dc5cd4b60aa4b299c4741312cf8892 1 parent 65900bf
@voxik authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  configure
View
3  configure
@@ -175,7 +175,7 @@ class Configure
end
def set_filesystem_paths
- @prefixdir = expand_install_dir @prefixdir
+ @prefixdir = @prefixdir ? expand_install_dir(@prefixdir) : @sourcedir
if @appdir
dir = expand_install_dir @appdir
@@ -187,7 +187,6 @@ class Configure
@vendordir = dir + "/vendor"
end
- @prefixdir = @sourcedir unless @prefixdir
@bindir = @prefixdir + "/bin" unless @bindir
@librarydir = @prefixdir + "/lib" unless @librarydir
@runtimedir = @prefixdir + "/runtime" unless @runtimedir
Please sign in to comment.
Something went wrong with that request. Please try again.