mirror of https://gitlab.com/ita1024/waf.git
Fix the api documentation
This commit is contained in:
parent
f02047b8ea
commit
4ed44b2e99
|
@ -1190,13 +1190,13 @@ class inst(Task.Task):
|
||||||
This looks up for `install_user` or `install_group` attributes
|
This looks up for `install_user` or `install_group` attributes
|
||||||
on the task or on the task generator::
|
on the task or on the task generator::
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.install_as('${PREFIX}/wscript',
|
bld.install_as('${PREFIX}/wscript',
|
||||||
'wscript',
|
'wscript',
|
||||||
install_user='nobody', install_group='nogroup')
|
install_user='nobody', install_group='nogroup')
|
||||||
bld.symlink_as('${PREFIX}/wscript_link',
|
bld.symlink_as('${PREFIX}/wscript_link',
|
||||||
Utils.subst_vars('${PREFIX}/wscript', bld.env),
|
Utils.subst_vars('${PREFIX}/wscript', bld.env),
|
||||||
install_user='nobody', install_group='nogroup')
|
install_user='nobody', install_group='nogroup')
|
||||||
"""
|
"""
|
||||||
if not Utils.is_win32:
|
if not Utils.is_win32:
|
||||||
user = getattr(self, 'install_user', None) or getattr(self.generator, 'install_user', None)
|
user = getattr(self, 'install_user', None) or getattr(self.generator, 'install_user', None)
|
||||||
|
|
Loading…
Reference in New Issue