summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBin Meng2022-09-08 15:28:11 +0200
committerStefan Weil2022-10-31 10:06:11 +0100
commit7f8c044018555dcc36eb5af1d5d6cebc85ebd330 (patch)
treeced2fc71f58d87a48590bd4b52c6271c8ed910df /scripts
parentMerge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (diff)
downloadqemu-7f8c044018555dcc36eb5af1d5d6cebc85ebd330.tar.gz
qemu-7f8c044018555dcc36eb5af1d5d6cebc85ebd330.tar.xz
qemu-7f8c044018555dcc36eb5af1d5d6cebc85ebd330.zip
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 <bin.meng@windriver.com> Message-Id: <20220908132817.1831008-2-bmeng.cn@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nsis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nsis.py b/scripts/nsis.py
index 462d6cac3b..bbb41d9386 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(