[netcore] Fix build.sh (mono/mono#15380)
authorRyan Lucia <rylucia@microsoft.com>
Wed, 26 Jun 2019 03:58:41 +0000 (23:58 -0400)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 03:58:41 +0000 (23:58 -0400)
* [netcore] Revert changes to build.sh

It appears to have accidentally been changed in mono/mono#15215, and the script no longer works correctly as a result, so revert

* Strip call to make

Commit migrated from https://github.com/mono/mono/commit/a2a28b94c1316db37a254256907765eecf8de789

src/mono/netcore/build.sh

index 03ad6e3..b930747 100755 (executable)
@@ -87,7 +87,7 @@ CPU_COUNT=$(getconf _NPROCESSORS_ONLN || echo 4)
 
 # run .././autogen.sh only once or if "--rebuild" argument is provided
 if [[ "$force_rebuild" == "true" || ! -f .configured ]]; then
-  cd .. && ./autogen.sh --with-core=only
+  (cd .. && ./autogen.sh --with-core=only)
   touch .configured
 fi