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:46:27 +0100
commitec7e738845f72888b0016340d7da636e5ec46a1b (patch)
tree4d82d92b3a7c67bb2764965148dfac2d2a186b3b /meta/recipes-devtools
parentae98a95577ba9c8a6a0d9a78d4cea33a92adff35 (diff)
downloadopenembedded-core-contrib-ec7e738845f72888b0016340d7da636e5ec46a1b.tar.gz
perl: do not use pushd
pushd is not available when system is using dash as default shell 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 caa2b61c9be..15afe2dab48 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -21,11 +21,11 @@ do_install_ptest () {
# Tweaks to make tests pass
cp -pv lib/unicore/TestProp.pl ${D}${libdir}/perl/${PV}/unicore/
# Put all *.t files from the lib dir in the ptest package
- pushd lib
+ cd lib
for file in `find -name \*.t`; do
tar -cf - $file | ( cd ${D}${libdir}/perl/${PV} && tar -xf - )
done
- popd
+ cd ..
mkdir -p ${D}${libdir}/perl/${PV}/XS
cp -pv lib/XS/APItest.pm ${D}${libdir}/perl/${PV}/XS/