Skip to content

Commit 3a5a292

Browse files
hsbadrkevinushey
andauthored
Makevars.in: Copy directories recursively with cp -R
-r is declared obsolete by POSIX and can have implementation-defined behavior. Co-authored-by: Kevin Ushey <kevinushey@gmail.com>
1 parent 8d26191 commit 3a5a292

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Makevars.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ ifdef TBB_LIB
105105
else
106106
echo "Building TBB library from source code..."; \
107107
mkdir -p ../inst/lib/$(ARCH_DIR); \
108-
cp -r ../inst/include/tbb_local/* ../inst/include/; \
108+
cp -R ../inst/include/tbb_local/* ../inst/include/; \
109109
rm -rf ../inst/include/tbb_local/; \
110110
cd tbb/src; \
111111
if [ -n "$(shell echo $(CC) | grep clang)" ]; then \
@@ -128,4 +128,3 @@ endif
128128

129129

130130
endif
131-

0 commit comments

Comments
 (0)