Permalink
Browse files

map "Darwin" to :macosx

Some builds of openjdk7 on osx return "Darwin" as the os.name
  • Loading branch information...
hiredman committed Jun 23, 2011
1 parent 917f381 commit 1a0e3359d6e6559ffa2415a89b1c93f44bf178f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/leiningen/util/paths.clj
@@ -17,7 +17,7 @@
{"Mac OS X" :macosx "Windows" :windows "Linux" :linux
"FreeBSD" :freebsd "OpenBSD" :openbsd
"amd64" :x86_64 "x86_64" :x86_64 "x86" :x86 "i386" :x86
- "arm" :arm "SunOS" :solaris "sparc" :sparc})
+ "arm" :arm "SunOS" :solaris "sparc" :sparc "Darwin" :macosx})
(defn get-os
"Returns a keyword naming the host OS."

0 comments on commit 1a0e335

Please sign in to comment.