Skip to content

Commit

Permalink
Replace 'cp -r' by 'cp -a' and remove unused CP definition
Browse files Browse the repository at this point in the history
Use of -r is strongly discouraged for FreeBSD / macOS.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Aug 16, 2023
1 parent f7f7950 commit fcd3def
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DOCKER_IMAGE = ubma/ocr-fileformat
ROOTDIR = $(abspath $(dir $(MAKEFILE_LIST)))
VERSION = $(shell [ -d "$(ROOTDIR)/.git" ] && git -C "$(ROOTDIR)" describe --tags || echo $(PKG_VERSION))

CP = cp -r
CP = cp -a
LN = ln -sf
MV = mv -f
MKDIR = mkdir -p
Expand Down
1 change: 0 additions & 1 deletion vendor/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CP = cp -rv
MKDIR = mkdir -p
RM = rm -rfv
UNZIP = unzip -o
Expand Down

0 comments on commit fcd3def

Please sign in to comment.