mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
fix bui-agent package build
This commit is contained in:
parent
14c25fb01e
commit
0e9a7170ee
1 changed files with 2 additions and 2 deletions
|
|
@ -48,9 +48,9 @@ if 'sdist' in sys.argv or 'bdist' in sys.argv:
|
|||
find = subprocess.Popen(r'find burpui_agent-decoy -type l', shell=True, stdout=subprocess.PIPE)
|
||||
(out, _) = find.communicate()
|
||||
for decoy in out.splitlines():
|
||||
real = os.path.normpath(os.path.join(os.path.dirname(decoy), os.readlink(decoy)))
|
||||
real = os.path.normpath(os.path.join(os.path.dirname(decoy), os.readlink(decoy))).decode('utf-8')
|
||||
# print '{} -> {}'.format(decoy, real)
|
||||
target = os.path.join('burpui_agent', re.sub(r'.*/burpui/', '', real.decode('utf-8')))
|
||||
target = os.path.join('burpui_agent', re.sub(r'.*/burpui/', '', real))
|
||||
dirname = os.path.dirname(target)
|
||||
if not os.path.isdir(dirname):
|
||||
# print 'mkdir {}'.format(dirname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue