You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the test condition in the first if is wrong. the -z argument to test (or it's [ alias) returns true if the following argument is an empty string, the test for a non-empty one is -n. Given that ptb is set to "yep" if it suppose to be a public test build then the outer if will branch to the else case where the absence of the release build option will cause the development build option to be made.
The text was updated successfully, but these errors were encountered:
Well, it might help if there was an M so that I could RTF thing: I've ".. use the source, Luke!" and it now seems this script is invoked in three different ways and the argument options are a little more complex than I at first thought, they are:
make-installer.sh "version-string" - should produce a "snap-shot" type build
make-installer.sh -pr "version-string" - should produce a "public test build"
make-installer.sh -r "version-string" - should produce a "release build"
I will return to this once I have properly thunk it out...
I have just cloned this repository prior to submitting some changes and I spotted a shell script logic error in PR #82 :
In the following:
the test condition in the first
if
is wrong. the-z
argument totest
(or it's[
alias) returnstrue
if the following argument is an empty string, the test for a non-empty one is-n
. Given thatptb
is set to"yep"
if it suppose to be a public test build then the outerif
will branch to theelse
case where the absence of the release build option will cause the development build option to be made.The text was updated successfully, but these errors were encountered: