Skip to content

Commit

Permalink
Fix naming of windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Sep 9, 2014
1 parent 3ebf25e commit 5206e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk/dist.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ distcheck-tar-src: dist-tar-src

ifdef CFG_ISCC

PKG_EXE = dist/$(PKG_NAME)-install.exe
PKG_EXE = dist/$(PKG_NAME)-$(CFG_BUILD).exe

%.iss: $(S)src/etc/pkg/%.iss
cp $< $@
Expand Down
3 changes: 2 additions & 1 deletion src/etc/pkg/rust.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
#define CFG_RELEASE GetEnv("CFG_RELEASE")
#define CFG_PACKAGE_NAME GetEnv("CFG_PACKAGE_NAME")
#define CFG_BUILD GetEnv("CFG_BUILD")

[Setup]

Expand All @@ -20,7 +21,7 @@ DisableStartupPrompt=true

OutputDir=.\dist\
SourceDir=.\
OutputBaseFilename={#CFG_PACKAGE_NAME}-install
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
DefaultDirName={pf32}\Rust

Compression=lzma2/ultra
Expand Down

1 comment on commit 5206e79

@alexcrichton
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.