Kaydet (Commit) c6d8cd5f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use cp -R instead of cp -r for OS X compatibility

In GNU cp, -r and -R are equivalent.

For the cp in OS X: "Historic versions of the cp utility had a -r
option. This implementation supports that option; however, its use is
strongly discouraged, as it does not correctly copy special files,
symbolic links, or fifo's."

Using cp -r meant that the symlinks in the LibreOfficePython.framework
were not properly re-created in instdir.

Change-Id: I8367269a77b876c063fd21ceb919936215fb7d37
üst a140350d
......@@ -24,7 +24,7 @@ gb_GeneratedPackage__get_destdir = $(firstword $(subst :, ,$(1)))
define gb_GeneratedPackage__command_cp
mkdir -p $(dir $(INSTDIR)/$(2)) && \
cp -r $(PACKAGE_SOURCEDIR)/$(1) $(INSTDIR)/$(2)
cp -R $(PACKAGE_SOURCEDIR)/$(1) $(INSTDIR)/$(2)
endef
define gb_GeneratedPackage__command
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment