Your IP : 216.73.216.213


Current Path : /opt/alt/alt-nodejs12/root/lib/python2.7/site-packages/gyp/
Upload File :
Current File : //opt/alt/alt-nodejs12/root/lib/python2.7/site-packages/gyp/sun_tool.pyc

�
 Qc@s�dZddlZddlZddlZddlZddlZd�Zdefd��YZe	dkr�ej
eejd��ndS(sPThese functions are executed via gyp-sun-tool when using the Makefile
generator.i����NcCst�}|j|�dS(N(tSunTooltDispatch(targstexecutor((sK//opt/alt/alt-nodejs12/root/usr/lib/python2.7/site-packages/gyp/sun_tool.pytmains	RcBs)eZdZd�Zd�Zd�ZRS(s�This class performs all the SunOS tooling steps. The methods can either be
  executed directly, or dispatched from an argument list.cCsSt|�dkr!td��nd|j|d�}t||�|d�dS(s(Dispatches a string command to a method.isNot enough argumentssExec%siN(tlent	Exceptiont_CommandifyNametgetattr(tselfRtmethod((sK//opt/alt/alt-nodejs12/root/usr/lib/python2.7/site-packages/gyp/sun_tool.pyRscCs|j�jdd�S(s<Transforms a tool name like copy-info-plist to CopyInfoPlistt-t(ttitletreplace(R	tname_string((sK//opt/alt/alt-nodejs12/root/usr/lib/python2.7/site-packages/gyp/sun_tool.pyR sc	Gsptj|tjtjBtjBd�}tjdtjdddddd�}tj|tj	|�t
j|�S(s5Emulates the most basic behavior of Linux's flock(1).i�thhllhhli(tostopentO_WRONLYtO_NOCTTYtO_CREATtstructtpacktfcntltF_WRLCKtF_SETLKt
subprocesstcall(R	tlockfiletcmd_listtfdtop((sK//opt/alt/alt-nodejs12/root/usr/lib/python2.7/site-packages/gyp/sun_tool.pyt	ExecFlock$s&'(t__name__t
__module__t__doc__RRR!(((sK//opt/alt/alt-nodejs12/root/usr/lib/python2.7/site-packages/gyp/sun_tool.pyRs		t__main__i(R$RRRRtsysRtobjectRR"texittargv(((sK//opt/alt/alt-nodejs12/root/usr/lib/python2.7/site-packages/gyp/sun_tool.pyt<module>s