Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
b7418dc8
Unverified
Commit
b7418dc8
authored
Sep 29, 2023
by
James Lamb
Committed by
GitHub
Sep 29, 2023
Browse files
[ci] fix sh-compatibility issue in build-cran-package.sh (#6118)
parent
60a4a13e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
build-cran-package.sh
build-cran-package.sh
+1
-1
No files found.
build-cran-package.sh
View file @
b7418dc8
...
...
@@ -132,7 +132,7 @@ cd "${TEMP_R_DIR}"
using_windows_and_r3
=
$(
Rscript
-e
'cat(.Platform$OS.type == "windows" && R.version[["major"]] < 4)'
)
if
[[
${
using_windows_and_r3
}
=
=
"TRUE"
]]
;
then
if
test
"
${
using_windows_and_r3
}
"
=
"TRUE"
;
then
LGB_CXX_STD
=
"C++11"
fi
sed
-i
.bak
-e
"s/~~CXXSTD~~/
${
LGB_CXX_STD
}
/"
DESCRIPTION
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment