Skip to content

Conversation

@PeterDaveHello
Copy link
Member

Working on readability and maintainability.

chorrell

This comment was marked as off-topic.

@PeterDaveHello PeterDaveHello force-pushed the improve-coding-style branch from 6639c4e to b04415f Compare May 17, 2018 18:35
@PeterDaveHello
Copy link
Member Author

As we'll use Linux to build the images, maybe #!/bin/bash would be good enough, I changed to use env though.

@chorrell
Copy link
Contributor

Yeah, either is good as long as it’s consistent

@PeterDaveHello
Copy link
Member Author

Yeah, and if we could rewrite to pure POSIX compatible version, then we could simply use #!/bin/sh in the future! Will try to do then when I have free time! Any other suggestions would be welcome.

@PeterDaveHello PeterDaveHello force-pushed the improve-coding-style branch from b04415f to bb92568 Compare May 17, 2018 19:03
@LaurentGoderre
Copy link
Member

Doesn't it work in POSIX. I do a lt of this on my Mac which is POSIX

@PeterDaveHello
Copy link
Member Author

[[ ]] is bash syntax, not POSIX, if I didn't remember it wrong, anyway, unify the style would be good ;)

LaurentGoderre

This comment was marked as off-topic.

@LaurentGoderre
Copy link
Member

Can we merge this sooner or later since it affects all other PR that modify the shell scripts

chorrell

This comment was marked as off-topic.

@chorrell
Copy link
Contributor

Yep, merge away. Build is green and I'm happy with the shebang change.

@LaurentGoderre LaurentGoderre merged commit 9e2a121 into master May 18, 2018
@LaurentGoderre LaurentGoderre deleted the improve-coding-style branch May 18, 2018 15:26
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.

4 participants