From: Bin Meng Date: Thu, 8 Sep 2022 13:28:11 +0000 (+0800) Subject: scripts/nsis.py: Drop the unnecessary path separator X-Git-Tag: v7.2.0-rc0~24^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f8c044018555dcc36eb5af1d5d6cebc85ebd330;p=thirdparty%2Fqemu.git scripts/nsis.py: Drop the unnecessary path separator There is no need to append a path separator to the destination directory that is passed to "make install". Signed-off-by: Bin Meng Message-Id: <20220908132817.1831008-2-bmeng.cn@gmail.com> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Weil Signed-off-by: Stefan Weil --- diff --git a/scripts/nsis.py b/scripts/nsis.py index 462d6cac3b6..bbb41d93869 100644 --- a/scripts/nsis.py +++ b/scripts/nsis.py @@ -30,7 +30,7 @@ def main(): destdir = tempfile.mkdtemp() try: - subprocess.run(["make", "install", "DESTDIR=" + destdir + os.path.sep]) + subprocess.run(["make", "install", "DESTDIR=" + destdir]) with open( os.path.join(destdir + args.prefix, "system-emulations.nsh"), "w" ) as nsh, open(