projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89461b5
)
Update init-tools to return instead of exit 0
author
Eric Erhardt
<eric.erhardt@microsoft.com>
Fri, 13 Oct 2017 19:57:53 +0000
(14:57 -0500)
committer
Eric Erhardt
<eric.erhardt@microsoft.com>
Fri, 13 Oct 2017 19:57:53 +0000
(14:57 -0500)
Commit migrated from https://github.com/dotnet/core-setup/commit/
ebf126f2a02a015fc1eaf6f5fbbd7883fc48f8f7
src/installer/init-tools.sh
patch
|
blob
|
history
diff --git
a/src/installer/init-tools.sh
b/src/installer/init-tools.sh
index
3c1a0a7
..
1a0f7ae
100755
(executable)
--- a/
src/installer/init-tools.sh
+++ b/
src/installer/init-tools.sh
@@
-32,7
+32,7
@@
if [ -d "$DotNetBuildToolsDir" ]; then
echo "Done initializing tools."
mkdir -p "$(dirname "$__BUILD_TOOLS_SEMAPHORE")" && touch $__BUILD_TOOLS_SEMAPHORE
- exit 0
+ return #return instead of exit because this script is inlined in other scripts which we don't want to exit
fi
echo "Running: $__scriptpath/init-tools.sh" > $__init_tools_log