Skip to content

Commit a676eb3

Browse files
committed
try enforcing double slashes
1 parent f5ffde9 commit a676eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_core/tests/cython/build_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ "$UNAME" == "Linux" ] ; then
99
export CPLUS_INCLUDE_PATH=${SCRIPTPATH}/../../cuda/core/experimental/include:$CUDA_HOME/include:$CPLUS_INCLUDE_PATH
1010
elif [[ "$UNAME" == CYGWIN* || "$UNAME" == MINGW* || "$UNAME" == MSYS* ]] ; then
1111
SCRIPTPATH="$(dirname $(cygpath -w $(realpath "$0")))"
12-
export CL="/I\"${SCRIPTPATH}\\..\\..\\cuda_core\\cuda\\core\\experimental\\include\" /I\"${CUDA_HOME}\\include\" ${CL}"
12+
export CL="/I\"$(echo ${SCRIPTPATH} | sed 's/\\/\\\\/g')\\..\\..\\cuda_core\\cuda\\core\\experimental\\include\" /I\"${CUDA_HOME}\\include\" ${CL}"
1313
else
1414
exit 1
1515
fi

0 commit comments

Comments
 (0)