Browse Source

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>
Bin Meng 2 years ago
parent
commit
7f8c044018
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/nsis.py

+ 1 - 1
scripts/nsis.py

@@ -30,7 +30,7 @@ def main():
 
 
     destdir = tempfile.mkdtemp()
     destdir = tempfile.mkdtemp()
     try:
     try:
-        subprocess.run(["make", "install", "DESTDIR=" + destdir + os.path.sep])
+        subprocess.run(["make", "install", "DESTDIR=" + destdir])
         with open(
         with open(
             os.path.join(destdir + args.prefix, "system-emulations.nsh"), "w"
             os.path.join(destdir + args.prefix, "system-emulations.nsh"), "w"
         ) as nsh, open(
         ) as nsh, open(