use symlink, not hard link

This commit is contained in:
James Slagle 2013-09-13 08:48:58 -04:00
parent 7e34cdb985
commit 0207d15c46
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class ElementManager(object):
os.unlink('/tmp/in_target.d')
except:
pass
os.link(self.tmp_hook_dir, '/tmp/in_target.d')
os.symlink(self.tmp_hook_dir, '/tmp/in_target.d')
os.environ['TMP_HOOKS_PATH'] = self.tmp_hook_dir
os.environ['PATH'] = '%s:%s/bin' % (os.environ['PATH'],
self.tmp_hook_dir)