Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1927 from voxik/fix-preserve-prefix

Prevent exception when --preserve-prefix is used without --prefix.
  • Loading branch information...
commit 21d7bf40c2e8acfca23b94e68d83b69e8289bb82 2 parents 24adadf + 52d0f5d
@dbussink dbussink authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 configure
View
6 configure
@@ -211,8 +211,10 @@ class Configure
dirs.each { |d| d.replace d[size..-1] }
- @stagingdir = "#{@sourcedir}/staging" unless @prefixdir == @sourcedir
- @stagingdir = File.join @stagingdir, @prefixdir if @preserve_prefix
+ unless @prefixdir == @sourcedir
+ @stagingdir = "#{@sourcedir}/staging"
+ @stagingdir = File.join @stagingdir, @prefixdir if @preserve_prefix
+ end
end
def options
Please sign in to comment.
Something went wrong with that request. Please try again.