mirror of
https://github.com/netinvent/npbackup.git
synced 2024-11-10 09:03:02 +08:00
Fix typo
This commit is contained in:
parent
7c97c37e9c
commit
96688b184d
1 changed files with 5 additions and 3 deletions
|
@ -7,8 +7,8 @@ __intname__ = "npbackup.compile-and-package-for-windows"
|
|||
__author__ = "Orsiris de Jong"
|
||||
__copyright__ = "Copyright (C) 2023 NetInvent"
|
||||
__license__ = "GPL-3.0-only"
|
||||
__build__ = "2023012801"
|
||||
__version__ = "1.4.1"
|
||||
__build__ = "2023013001"
|
||||
__version__ = "1.4.2"
|
||||
|
||||
|
||||
import sys
|
||||
|
@ -91,7 +91,9 @@ def compile(arch="64"):
|
|||
PACKAGE_DIR = 'npbackup'
|
||||
|
||||
is_private = check_private_build()
|
||||
OUTPUT_DIR = os.path.abspath(os.path.join(BASEDIR, os.pardir, "BUILDS", "-PRIVATE" if is_private else ""))
|
||||
build_dir = "BUILDS"
|
||||
build_dir += "-PRIVATE" if is_private else ""
|
||||
OUTPUT_DIR = os.path.abspath(os.path.join(BASEDIR, os.pardir, build_dir))
|
||||
|
||||
if not os.path.isdir(OUTPUT_DIR):
|
||||
os.makedirs(OUTPUT_DIR)
|
||||
|
|
Loading…
Reference in a new issue