[Bug 4210] Unrecognised cp switch used in autotools.bbclass

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Fri May 2 16:43:17 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4210





--- Comment #1 from Michael Abbott <michael at araneidae.co.uk>  2008-05-02 18:43:17 ---
Thinking about it a bit further, I think I prefer the following patch:

--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -172,7 +172,7 @@ autotools_stage_dir() {
        rmdir "$from" 2> /dev/null || true
        if [ -d "$from" ]; then
                mkdir -p "$to"
-               cp -fpPR -t "$to" "$from"/*
+               cp -fpPR "$from"/* "$to"
        fi
 }

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list