Skip to content

Commit c843b2a

Browse files
committed
Makevars.in: Use -R with cp and rm
Signed-off-by: Hamada S. Badr <hamada.s.badr@gmail.com>
1 parent 781819c commit c843b2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Makevars.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ ifdef TBB_LIB
100100
mkdir -p ../inst/lib/$(ARCH_DIR); \
101101
cp $(TBB_LIB)/libtbb.so ../inst/lib/$(ARCH_DIR)/libtbb.so; \
102102
cp $(TBB_LIB)/libtbbmalloc.so ../inst/lib/$(ARCH_DIR)/libtbbmalloc.so; \
103-
rm -rf ../inst/include/serial/ ../inst/include/tbb/; \
104-
rm -rf ../inst/include/tbb_local/
103+
rm -Rf ../inst/include/serial/ ../inst/include/tbb/; \
104+
rm -Rf ../inst/include/tbb_local/
105105
else
106106
echo "Building TBB library from source code..."; \
107107
mkdir -p ../inst/lib/$(ARCH_DIR); \
108108
cp -R ../inst/include/tbb_local/* ../inst/include/; \
109-
rm -rf ../inst/include/tbb_local/; \
109+
rm -Rf ../inst/include/tbb_local/; \
110110
cd tbb/src; \
111111
if [ -n "$(shell echo $(CC) | grep clang)" ]; then \
112112
$(MAKE_CMD) stdver=@STDVER@ compiler=clang $(MAKE_ARGS); \

0 commit comments

Comments
 (0)