summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorChase Miller <chase@bawxen.net>2015-02-04 16:31:58 +0000
committerChase Miller <chase@bawxen.net>2015-02-04 21:19:02 +0000
commitff41f7483016a1d0f560d0addba5dd22b9c69978 (patch)
tree1fced8179e640f663baaa74df872f54aec74d25a /build.sh
parent682df95bf810fdbe73b8c4a31ec72f0a703df9bd (diff)
downloadcoreclr-ff41f7483016a1d0f560d0addba5dd22b9c69978.tar.gz
coreclr-ff41f7483016a1d0f560d0addba5dd22b9c69978.tar.bz2
coreclr-ff41f7483016a1d0f560d0addba5dd22b9c69978.zip
Fixed variable issues in build.sh
The clean argument wasn't properly setting the __CleanBuild variable to trigger the clean build operation. The current build target/type message was using CMD variable substitution syntax instead of BASH.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 25ee783280..545b5b29b8 100755
--- a/build.sh
+++ b/build.sh
@@ -64,7 +64,7 @@ build_coreclr()
{
# All set to commence the build
- echo Commencing build of native components for %__BuildArch%/%__BuildType%
+ echo Commencing build of native components for $__BuildArch/$__BuildType
cd $__CMakeSlnDir
# Regenerate the CMake solution
@@ -134,7 +134,7 @@ for i in "$@"
__CMakeArgs=RELEASE
;;
clean)
- __CleanBuild=true
+ __CleanBuild=1
;;
*)
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $i"