]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: reorder tar arguments in do_install_ptest()
authorRenato Caldas <rm.santos.caldas@gmail.com>
Mon, 30 May 2016 21:47:03 +0000 (22:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2016 18:34:44 +0000 (19:34 +0100)
On some distributions tar requires the FILE argument to be the last, and
the existing order was causing the subsequent --exclude options to be dropped.

Fixes [YOCTO #9673].

Signed-off-by: Renato Caldas <rm.santos.caldas@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/perl/perl-ptest.inc

index 948ea7cddf02911c30e66fe584861d5e197eb539..66c5355854d1299f6d6395998f5ee54944967722 100644 (file)
@@ -7,8 +7,8 @@ do_install_ptest () {
        mkdir -p ${D}${PTEST_PATH}
        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 \
-               --exclude miniperl --exclude generate_uudmap --exclude patches | ( cd ${D}${PTEST_PATH} && tar -xf - )
+       tar -cf - --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \
+               --exclude miniperl --exclude generate_uudmap --exclude patches | ( cd ${D}${PTEST_PATH} && tar -xf - )
 
        sed -i -e "s,${D},,g" \
               -e "s,--sysroot=${STAGING_DIR_HOST},,g" \