From: Roy Li Date: Tue, 24 Sep 2013 09:23:55 +0000 (+0800) Subject: perl: do not use pushd X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~35907 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7e738845f72888b0016340d7da636e5ec46a1b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git perl: do not use pushd pushd is not available when system is using dash as default shell Signed-off-by: Roy Li Signed-off-by: Richard Purdie --- 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/