Spade

Mini Shell

Directory:~$ /proc/self/root/usr/lib64/python2.7/Tools/scripts/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //proc/self/root/usr/lib64/python2.7/Tools/scripts/linktree.pyo

�
{�fc@sYddlZddlZdZdZd�Zd�ZedkrUeje��ndS(i����Ns.LINKicCsudttj�ko
dkns=dGtjdGdGHdStjdtjd}}ttj�dkr�tjd}d}nt}d}tjj|�s�|dGHdSytj|d	�Wn$tjk
r�}|d
G|GHdSXtjj	||�}y&tj
tjj	tj|�|�Wn:tjk
r`}|sP|dG|GHdS|dG|GHnXt|||�dS(
Niisusage:isoldtree
newtree [linkto]iis: not a directoryi�s: cannot mkdir:s: cannot
symlink:s: warning: cannot
symlink:(
tlentsystargvtLINKtostpathtisdirtmkdirterrortjointsymlinktpardirt	linknames(toldtreetnewtreetlinkt
link_may_failtmsgtlinkname((s./usr/lib64/python2.7/Tools/scripts/linktree.pytmains6%
		
&
c
Cs�trdG|||fGHnytj|�}Wn$tjk
rT}|dG|GHdSXx$|D]}|tjtjfkr\tjj||�}tjj||�}tjj||�}tdkr�|G|G|GHntjj|�retjj	|�reytj
|d�d}	Wn|dG|GHd}	nX|	rutjjtj|�}t|||�quqxtj||�q\q\WdS(NRs:
warning: cannot listdir:ii�s: warning: cannot
mkdir:i(
tdebugRtlistdirRtcurdirRRR	RtislinkRRR
(
toldtnewRtnamesRtnametoldnameRtnewnametok((s./usr/lib64/python2.7/Tools/scripts/linktree.pyR2s8




	t__main__(RRRRRRt__name__texit(((s./usr/lib64/python2.7/Tools/scripts/linktree.pyt<module>
s