VirtualBox

Changeset 38187 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Jul 26, 2011 2:14:20 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73145
Message:

Additions/linux/Makefile.kmk: Please, don't use host utilities when there are kBuild equivalents that does the box the same way everywhere. Older cp versions does not like trailing slashes when copy directory to directory 'cp -af asdf/ fdsa/', so what works on my box is busted on win64dep.

PS. The whole recurse cp stuff is totally screwed up as it won't get cleaned up correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r38178 r38187  
    281281        $(call MSG_INST_DIR,$<,$@)
    282282        $(QUIET)$(RM) -Rf $@
    283         $(QUIET)cp -af $< $@
     283        $(QUIET)$(CP) -RPf -- $< $@
    284284
    285285# pattern rule for copying the VBOX_LNX_ADD_INIT files to the installation directory
     
    290290# what we want if it already exists. See the cp manual page for more details.
    291291        $(QUIET)$(RM) -Rf $@
    292         $(QUIET)cp -af $< $@
     292        $(QUIET)$(CP) -RPf -- $< $@
    293293
    294294# pattern rule for copying the VBOX_LNX_ADD_INIT files to the module directory
     
    299299# what we want if it already exists. See the cp manual page for more details.
    300300        $(QUIET)$(RM) -Rf $@
    301         $(QUIET)cp -af $< $@
     301        $(QUIET)$(CP) -RPf -- $< $@
    302302
    303303
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette