Skip to content

Commit

Permalink
Fix Windows breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Oct 19, 2012
1 parent 10612ee commit 8492a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/os.rs
Expand Up @@ -481,7 +481,7 @@ pub fn tmpdir() -> Path {
#[allow(non_implicitly_copyable_typarams)]
fn lookup() -> Path {
option::get_default(
&option::or(getenv_nonempty("TMP"),
option::or(getenv_nonempty("TMP"),
option::or(getenv_nonempty("TEMP"),
option::or(getenv_nonempty("USERPROFILE"),
getenv_nonempty("WINDIR")))),
Expand Down

0 comments on commit 8492a02

Please sign in to comment.