Skip to content

Commit d36cede

Browse files
committed
nptools, ci: Fixes
1 parent 0b67e17 commit d36cede

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
CACHE_SAS: ${{ secrets.CACHE_SAS }}
184184
run: |
185185
cd ..
186-
export "file_name=NP_mac-intel-no_lto-${{ hashFiles('build.sh') }}.zip"
186+
export "file_name=NP_ubuntu-${{ hashFiles('build.sh') }}.zip"
187187
export "file_url=https://nuitkapythonci.blob.core.windows.net/job-cache/${file_name}?${CACHE_SAS}"
188188
rm -rf ${file_name}
189189
zip -r ${file_name} Nuitka-Python-Deps Nuitka-Python/dep-build

Lib/__np__/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ def copytree(src, dst, symlinks=False, ignore_errors=None, executable=False):
139139
if os.name == "nt":
140140
from __np__.windows import get_short_path
141141
try:
142-
s = get_short_path(os.path.dirname(s))
142+
s = os.path.join(get_short_path(os.path.dirname(s)), os.path.basename(s))
143143
except:
144144
pass
145145
d = os.path.join(dst, item)
146146
if os.name == "nt":
147147
try:
148-
d = get_short_path(os.path.dirname(d))
148+
d = os.path.join(get_short_path(os.path.dirname(d)), os.path.basename(d))
149149
except:
150150
pass
151151
if os.path.isdir(s):

0 commit comments

Comments
 (0)