From: Jose V Beneyto Date: Wed, 21 Aug 2013 08:58:58 +0000 (+0000) Subject: Improved treatment for .la files in pkgadd-cross X-Git-Url: http://gitweb/?a=commitdiff_plain;h=daba762bad791045b54a6b796612cde82ed53acc;p=pkgutils-cross.git Improved treatment for .la files in pkgadd-cross --- diff --git a/pkgadd-cross b/pkgadd-cross index c1ac751..61bb88f 100755 --- a/pkgadd-cross +++ b/pkgadd-cross @@ -41,7 +41,7 @@ $PKGADD -c $PKGADD_CONF -r $CLFS $ARGS # we need to adjust .la files for our temporary root filesystem tree (CLFS) if [ $? -eq 0 ]; then - LIBTOOL_FILES=$(tar tf $PATH_TO_PACKAGE | grep '.la') + LIBTOOL_FILES=$(tar tf $PATH_TO_PACKAGE 2>/dev/null | grep '\.la$') for la_file in $LIBTOOL_FILES; do sed -e "s|libdir='/|libdir='$CLFS/|" -i $CLFS/$la_file done