|
|
@ -142,10 +142,11 @@ class DistributiveRepository:
|
|
|
|
extname = "dir"
|
|
|
|
extname = "dir"
|
|
|
|
d = self.ini_to_dict(path.join(filename,
|
|
|
|
d = self.ini_to_dict(path.join(filename,
|
|
|
|
'etc/calculate/calculate.ini'))
|
|
|
|
'etc/calculate/calculate.ini'))
|
|
|
|
if d and path.exists(path.join(filename,'lib64')):
|
|
|
|
if not d or not "march" in d:
|
|
|
|
d['march'] = 'x86_64'
|
|
|
|
if path.exists(path.join(filename,'lib64')):
|
|
|
|
else:
|
|
|
|
d['march'] = 'x86_64'
|
|
|
|
d['march']= 'i686'
|
|
|
|
else:
|
|
|
|
|
|
|
|
d['march']= 'i686'
|
|
|
|
if d:
|
|
|
|
if d:
|
|
|
|
d['ext'] = extname
|
|
|
|
d['ext'] = extname
|
|
|
|
d["name"] = varsShare.getShortnameByMakeprofile(filename) or \
|
|
|
|
d["name"] = varsShare.getShortnameByMakeprofile(filename) or \
|
|
|
|