parsav  Diff

Differences From Artifact [0c09bec0e6]:

To Artifact [931922a3e1]:


    33     33   	tgthf     = u.tobool(default('parsav_arch_armhf',true)); 
    34     34   	doc       = {
    35     35   		online  = u.tobool(default('parsav_online_documentation',true)); 
    36     36   		offline = u.tobool(default('parsav_offline_documentation',true)); 
    37     37   	};
    38     38   	outform   = default('parsav_emit_type', 'o');
    39     39   	endian    = default('parsav_arch_endian', 'little');
    40         -	prefix    = default('parsav_install_prefix', './');
           40  +	prefix    = default('parsav_install_prefix', '.');
    41     41   	build     = {
    42     42   		id = u.rndstr(6);
    43     43   		release = u.ingest('release');
    44     44   		when = os.date();
    45     45   	};
    46     46   	feat = {};
    47     47   	debug = u.tobool(default('parsav_enable_debug',true)); 
................................................................................
    65     65   	}):gsub("^'(.*)'$", '%1')
    66     66   end
    67     67   conf.os    = default('parsav_host_os', default_os)
    68     68   conf.tgtos = default('parsav_target_os', default_os)
    69     69   conf.posix = posixes[conf.os]
    70     70   conf.exe   = u.tobool(default('parsav_link',not conf.tgttrip)) -- turn off for partial builds
    71     71   conf.prefix_conf = default('parsav_install_prefix_cfg', conf.prefix)
           72  +conf.prefix_bin = default('parsav_install_prefix_cfg', conf.prefix)
    72     73   conf.prefix_static = default('parsav_install_prefix_static', nil)
    73     74   conf.build.origin = coalesce(
    74     75   	os.getenv('parsav_builder'),
    75     76   	string.format('%s@%s', coalesce (
    76     77   		os.getenv('USER'),
    77     78   		u.exec{'whoami'}
    78     79   	), u.exec{'hostname'}) -- whoami and hostname are present on both windows & unix