Open SlySven opened 3 years ago
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 buildmake-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.