Allow build.sh to have multiple cmakeargs options (dotnet/coreclr#10962)
authorJonghyun Park <parjong@gmail.com>
Mon, 17 Apr 2017 18:20:21 +0000 (03:20 +0900)
committerDan Moseley <danmose@microsoft.com>
Mon, 17 Apr 2017 18:20:21 +0000 (11:20 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/bd9cd4206ef5abb9b0a4741fc7d970b40bfed44b

src/coreclr/build.sh

index ae5e436..f5cab1e 100755 (executable)
@@ -732,7 +732,7 @@ while :; do
 
         cmakeargs)
             if [ -n "$2" ]; then
-                __cmakeargs="$2"
+                __cmakeargs="$__cmakeargs $2"
                 shift
             else
                 echo "ERROR: 'cmakeargs' requires a non-empty option argument"