]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: Correct perl path for ptest
authorHe Zhe <zhe.he@windriver.com>
Wed, 24 Aug 2016 07:08:16 +0000 (15:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Sep 2016 14:26:42 +0000 (15:26 +0100)
Substitute /usr/local with ${bindir}

(From OE-Core rev: bc372d65bc395290e1b7132908a3b943e1b73144)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/perl/perl-ptest.inc

index 99989807b62498f9d2e749c968e917090f9912c3..650076abdb4623e31ced387f938b1ee82683a9c9 100644 (file)
@@ -5,6 +5,7 @@ SRC_URI += "file://run-ptest \
 
 do_install_ptest () {
        mkdir -p ${D}${PTEST_PATH}
+       sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/*
        sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
        sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
        tar -cf - --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \