mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 11:06:08 +00:00
nodejs-symlink-deps: only create symlink if target exists
This commit is contained in:
parent
ab6e60ba98
commit
5a2667dfb1
2 changed files with 5 additions and 1 deletions
|
@ -52,4 +52,7 @@ for path in modules:
|
|||
os.chdir('node_modules')
|
||||
|
||||
for dep in md['dependencies'].iterkeys():
|
||||
os.symlink(os.path.join(sitelib, dep), dep)
|
||||
target = os.path.join(sitelib, dep)
|
||||
|
||||
if os.path.exists(target):
|
||||
os.symlink(target, dep)
|
||||
|
|
|
@ -191,6 +191,7 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
|
|||
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-1
|
||||
- new upstream release 0.10.3
|
||||
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
|
||||
- nodejs-symlink-deps: only create symlink if target exists
|
||||
|
||||
* Sun Mar 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.2-1
|
||||
- new upstream release 0.10.2
|
||||
|
|
Loading…
Reference in a new issue