Skip to content
Browse files

Make prefix if it doesn't exist

  • Loading branch information...
1 parent 468e117 commit 73c125e040e70591120cee238fb1ef2c287c492c @dagbrown committed Dec 27, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 install.rb
View
3 install.rb
@@ -29,6 +29,9 @@ def self.install(prefix=nil)
include Config
if prefix then
+ if not File.exists? prefix then
+ Dir.mkdir prefix
+ end
bindir = File.join prefix, "bin"; mkdir bindir
dest = File.join prefix, "lib"; mkdir dest
mkdir File.join(prefix, "man")

0 comments on commit 73c125e

Please sign in to comment.
Something went wrong with that request. Please try again.