-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Fixes to the dev workflow scripts for OSX #7257
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ case $OSName in | |
| Darwin) | ||
| OS=OSX | ||
| __DOTNET_PKG=dotnet-osx-x64 | ||
| ulimit -n 2048 | ||
| ;; | ||
|
|
||
| Linux) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,7 +51,7 @@ $working_tree_root/init-tools.sh | |
|
|
||
| if [ "$sync_src" == true ]; then | ||
| echo "Fetching git database from remote repos..." | ||
| git fetch --all -p -v &>> $sync_log | ||
| git fetch --all -p -v >> $sync_log | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure what the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Me neither. @naamunds why do we have
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @joperezr @maririos The According to that guide, the It looks like a workaround is to use
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've created #7312. |
||
| if [ $? -ne 0 ]; then | ||
| echo -e "\ngit fetch failed. Aborting sync." >> $sync_log | ||
| echo "ERROR: An error occurred while fetching remote source code; see $sync_log for more details." | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is only going to apply to the current session.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that mean that if this script calls in to another sh script, that one won't have this setting? If so then we need to apply this in the init-tools in buildtools as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be fine.