Skip to content

Commit d11556a

Browse files
authored
Fix for cygpath windows issue (#6513)
1 parent 528651a commit d11556a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/build_cmake.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
9797
"$script_dir/windows/internal/vc_env_helper.bat" "$script_dir/windows/internal/build_frcnn.bat" $PARALLELISM
9898
mv fasterrcnn_resnet50_fpn.pt Release
9999
cd Release
100-
export PATH=$(cygpath "C:/Program Files (x86)/torchvision/bin"):$(cygpath $TORCH_PATH)/lib:$PATH
100+
export PATH=$(cygpath -w "C:/Program Files (x86)/torchvision/bin"):$(cygpath -w $TORCH_PATH)/lib:$PATH
101101
else
102102
make -j$PARALLELISM
103103
fi

0 commit comments

Comments
 (0)