Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use binary based on SHIPPABLE_NODE_ARCHITECTURE #151

Merged
merged 1 commit into from
Sep 25, 2017

Conversation

Bharath92
Copy link
Contributor

build.sh Outdated
if [ ! -z "$SHIPPABLE_NODE_ARCHITECTURE" ]; then
if [ -f /home/shippable/cexec/dist/"$SHIPPABLE_NODE_ARCHITECTURE"/linux/main/main ]; then
use_default_arch=false
/home/shippable/cexec/dist/"$SHIPPABLE_NODE_ARCHITECTURE"/linux/main/main
Copy link
Contributor

Choose a reason for hiding this comment

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

  • this should go in the else clause of if use_default_arch==true
  • this block of code should just be concerned with setting the flag to true/false
  • the next block will run the appropriate binary based on teh flag

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.

None yet

2 participants