Skip to content

Commit 677fe8a

Browse files
YosuaMichaelfacebook-github-bot
authored andcommitted
[fbsync] Fix for cygpath windows issue (#6513)
Reviewed By: NicolasHug Differential Revision: D39131007 fbshipit-source-id: 4ebe2319076b92117786b148d24b8327cf9b0ef4
1 parent bcedfd8 commit 677fe8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/build_cmake.sh

Lines changed: 1 addition & 1 deletion
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)