-
Notifications
You must be signed in to change notification settings - Fork 102
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
required version first commit #1056
required version first commit #1056
Conversation
…//github.com/Oumal1/ide into feature/devonfw#999-required-minimum-version
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.
@Oumal1 you integrated the feature in the proper location and it seems functional already. 👍
|
||
local devon_version | ||
devon_version="$("${DEVON_IDE_HOME}"/scripts/devon.bat -v)" | ||
if [ ! -z ${DEVON_IDE_MIN_VERSION} ] |
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.
the opposite of -z
is -n
. I know bash is cryptic but after some while it will start to feel natural, haha :)
local devon_version | ||
devon_version="$("${DEVON_IDE_HOME}"/scripts/devon.bat -v)" |
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.
should be moved inside if
block as it is not needed otherwise.
This PR is continued in PR #1064 |
issue #999