mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-07 22:36:52 +00:00
Make the generated r2.bat use bat path_relative syntax instead of hardcoding. (#15383)
This commit is contained in:
parent
293b244caa
commit
d42ed33f41
@ -170,7 +170,7 @@ def win_dist(args):
|
||||
r2_bat_fname = args.install + r'\bin\r2.bat'
|
||||
log.debug('create "%s"', r2_bat_fname)
|
||||
with open(r2_bat_fname, 'w') as r2_bat:
|
||||
r2_bat.write('@"%s\\bin\\radare2" %%*\n' % os.path.abspath(args.install))
|
||||
r2_bat.write('@"%~dp0\\radare2" %*\n')
|
||||
|
||||
copy(r'{BUILDDIR}\libr\*\*.dll', r'{DIST}\bin')
|
||||
makedirs(r'{DIST}\{R2_LIBDIR}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user