Jump to content

Philip Petev

Philip Petev

Member Since 13 Oct 2006
Offline Last Active Today, 05:12 AM
*****

Posts I've Made

In Topic: Clover Bug/Issue Report and Patch

24 May 2017 - 04:22 PM

BTW getops is pretty bad choice for parsing the options in bash script.

In Topic: Clover Bug/Issue Report and Patch

24 May 2017 - 11:45 AM

@apianti

Finally found some time to make some modifications to the buildpkg.sh script. Now it accepts arguments (all of its options) and excluding the specific options is possible with flag-style options.

I'd like to see your comment on that.

 

In Topic: Build_Clover.command, another Script to build standard Clover (or customized)

23 May 2017 - 01:08 PM

Yes, I've changed the preferred NASM version to 2.13.01 inside the script since it's the current stable release, but the script will use any version as long as it's 2.12.02 or later. If you want to upgrade your NASM binary, all you have to do is delete the current one at ~/src/opt/local/bin and the script will download and install the new version on the next run.

In Topic: Clover General discussion

17 May 2017 - 04:59 PM



EDIT2: As I already said I think it's a much better idea to pass argument flags instead, since maybe someone wants themes but not the configurator or manager, or whatever...

You mean parsing the input parameters with getopts or...?


Sent from my MI 5s using Tapatalk

 

EDIT: Who said EXTRAPKG should be definitely read-only? Just tested this version and it works like a charm. One variable only (EXTRAPKG), declare -i will make sure $4 is integer only and EXTRAPKG will be set to 0 if anything different from 1, 2 or 3 has been passed to the script as $4.

In Topic: Clover General discussion

17 May 2017 - 01:54 PM

No, because of that "set -u" at the beginning of the script.

Sent from my MI 5s using Tapatalk
© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy