Skip to content

Commit 19d84b5

Browse files
authored
remove Library from path for win
1 parent 80642e0 commit 19d84b5

File tree

1 file changed

+5
-5
lines changed
  • conda-recipe/plugify-module-cpp

1 file changed

+5
-5
lines changed

conda-recipe/plugify-module-cpp/bld.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
REM bld.bat - For Windows builds
33

44
REM Create the target directories
5-
if not exist "%PREFIX%\Library\bin" mkdir "%PREFIX%\Library\bin"
6-
if not exist "%PREFIX%\Library" mkdir "%PREFIX%\Library"
5+
if not exist "%PREFIX%\bin" mkdir "%PREFIX%\bin"
6+
if not exist "%PREFIX%" mkdir "%PREFIX%"
77

88
REM Copy the DLL and module file
9-
copy bin\plugify-module-cpp.dll "%PREFIX%\Library\bin\" || exit 1
10-
copy plugify-module-cpp.pmodule "%PREFIX%\Library\" || exit 1
9+
copy bin\plugify-module-cpp.dll "%PREFIX%\bin\" || exit 1
10+
copy plugify-module-cpp.pmodule "%PREFIX%\" || exit 1
1111

1212
REM Create activation scripts
1313
if not exist "%PREFIX%\etc\conda\activate.d" mkdir "%PREFIX%\etc\conda\activate.d"
@@ -21,4 +21,4 @@ REM Create deactivation script
2121
echo @echo off > "%PREFIX%\etc\conda\deactivate.d\plugify-module-cpp.bat"
2222
echo set "PLUGIFY_CPP_MODULE_PATH=%%PLUGIFY_CPP_MODULE_PATH:%%CONDA_PREFIX%%;=%%" >> "%PREFIX%\etc\conda\deactivate.d\plugify-module-cpp.bat"
2323

24-
exit 0
24+
exit 0

0 commit comments

Comments
 (0)