summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-09-24 17:23:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-24 17:57:03 +0100
commita2a544d62c4a4dc20fde5a4a1ca324711bd6f79c (patch)
tree2c4b6c466eb687ef0b0d2b443a24ace139d52c70 /meta/recipes-devtools
parent02af823c0065e433eb5cd0715a704d7b9c6634a3 (diff)
downloadpoky-a2a544d62c4a4dc20fde5a4a1ca324711bd6f79c.tar.gz
perl: do not use pushd
pushd is not available when system is using dash as default shell (From OE-Core rev: ec7e738845f72888b0016340d7da636e5ec46a1b) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index caa2b61c9b..15afe2dab4 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -21,11 +21,11 @@ do_install_ptest () {
21 # Tweaks to make tests pass 21 # Tweaks to make tests pass
22 cp -pv lib/unicore/TestProp.pl ${D}${libdir}/perl/${PV}/unicore/ 22 cp -pv lib/unicore/TestProp.pl ${D}${libdir}/perl/${PV}/unicore/
23 # Put all *.t files from the lib dir in the ptest package 23 # Put all *.t files from the lib dir in the ptest package
24 pushd lib 24 cd lib
25 for file in `find -name \*.t`; do 25 for file in `find -name \*.t`; do
26 tar -cf - $file | ( cd ${D}${libdir}/perl/${PV} && tar -xf - ) 26 tar -cf - $file | ( cd ${D}${libdir}/perl/${PV} && tar -xf - )
27 done 27 done
28 popd 28 cd ..
29 29
30 mkdir -p ${D}${libdir}/perl/${PV}/XS 30 mkdir -p ${D}${libdir}/perl/${PV}/XS
31 cp -pv lib/XS/APItest.pm ${D}${libdir}/perl/${PV}/XS/ 31 cp -pv lib/XS/APItest.pm ${D}${libdir}/perl/${PV}/XS/