fix package builds

parent 2456227d
Pipeline #1487 failed with stages
in 4 minutes and 59 seconds
......@@ -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)))
# print '{} -> {}'.format(decoy, real)
target = os.path.join('burpui_agent', re.sub(r'.*/burpui/', '', real))
target = os.path.join('burpui_agent', re.sub(r'.*/burpui/', '', real.decode('utf-8')))
dirname = os.path.dirname(target)
if not os.path.isdir(dirname):
# print 'mkdir {}'.format(dirname)
......
......@@ -21,6 +21,7 @@ mkdir meta
cd pkgs
for pkg in *
do
[ "$pkg" = "burp-ui-tpl" -o -f "$pkg" ] && continue
cd $pkg
$PYTHON setup.py sdist bdist_wheel bdist_egg
find dist -exec cp "{}" ../../meta/ \;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment