Skip to content

Conversation

srinivas-mapr
Copy link

No description provided.

@@ -1,9 +1,22 @@
#!/bin/bash

set -x

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider "set -euxo pipefail "

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


IMAGE="${1:-"maprtech/dev-sandbox-container:latest"}"
IP=$(ipconfig getifaddr en0)
which ipconfig

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The which can be inlined into the if to make this a clearer idiom and allow the use of set -euxo pipefail

Copy link

@tdunning tdunning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some small comments

@@ -1,9 +1,22 @@
#!/bin/bash

set -x

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants