Skip to content

Fix 0.17 image issues introduced in #267 and #270#272

Closed
carlbennett wants to merge 4 commits intofactoriotools:masterfrom
carlbennett:fix-0.17-image-issues
Closed

Fix 0.17 image issues introduced in #267 and #270#272
carlbennett wants to merge 4 commits intofactoriotools:masterfrom
carlbennett:fix-0.17-image-issues

Conversation

@carlbennett
Copy link

I tested this and the image now builds successfully and runs version 0.17.54.

fi

if [[ $UPDATE_MODS_ON_START ]]; then
if [ -z ${UPDATE_MODS_ON_START+x} ]; then # check if it is not set
Copy link
Member

Choose a reason for hiding this comment

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

You can go that with ${UPDATE_MODS_ON_START:-} way nicer and in one if.

@SuperSandro2000 SuperSandro2000 self-requested a review July 5, 2019 07:05
@SuperSandro2000 SuperSandro2000 self-assigned this Jul 5, 2019
@SuperSandro2000
Copy link
Member

I will probably not merge this as it is cause I don't see a reason why we should make it posix compliant instead of adding ~1.5 MB bash. We are doing more advanced scripts now and most people are used to use advanced features of bash including me. I am a big fan of test and not needing to quote everything and having some more advanced comparisons.

I will cherry pick your contribution addition into master later.

@carlbennett carlbennett deleted the fix-0.17-image-issues branch July 5, 2019 23:45
@carlbennett carlbennett mentioned this pull request Jul 6, 2019
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