Skip to content

Commit

Permalink
Automatically adding .exe extension to windows binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Apr 5, 2016
1 parent 051cb23 commit 8821111
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions make/make.tcl
Expand Up @@ -116,8 +116,13 @@ foreach platform $argv {
} else {
cluster log ERROR "Cannot build for $platform, no main kit available"
}
file rename -force -- machinery \
[file join $dstdir machinery-$version-$platform]
if { [string match -nocase "win*" $platform] } {
file rename -force -- machinery \
[file join $dstdir machinery-$version-$platform].exe
} else {
file rename -force -- machinery \
[file join $dstdir machinery-$version-$platform]
}
}

# Big cleanup
Expand Down

0 comments on commit 8821111

Please sign in to comment.