[oe-commits] [openembedded-core] 47/50: perl: Correct perl path for ptest
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 25 22:05:03 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit bc372d65bc395290e1b7132908a3b943e1b73144
Author: He Zhe <zhe.he at windriver.com>
AuthorDate: Wed Aug 24 15:08:16 2016 +0800
perl: Correct perl path for ptest
Substitute /usr/local with ${bindir}
Signed-off-by: He Zhe <zhe.he at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/perl/perl-ptest.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index bf6fde6..d136c5c 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -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 -c --exclude=\*.o --exclude=libperl.so --exclude=Makefile --exclude=makefile --exclude=hostperl \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list