[Libreoffice-commits] core.git: solenv/bin

Yeliz Taneroğlu yeliztaneroglu at gmail.com
Sat May 20 09:45:53 UTC 2017


 solenv/bin/make-raspbian-root-tarball |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aa8fdfd2c2f6ba421e988a3ca85b1a1cbaeb69b8
Author: Yeliz Taneroğlu <yeliztaneroglu at gmail.com>
Date:   Mon May 15 23:26:19 2017 +0300

    tdf#105204 fix shellcheck warning in solenv/bin/make-raspbian-root-tarball
    
    Change-Id: I9257e43f18945f18c7ef738621dcb2f117246934
    SC2038: Use -print0/-0 or find -exec + to allow for non-alphanumeric filenames.
    Reviewed-on: https://gerrit.libreoffice.org/37658
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>

diff --git a/solenv/bin/make-raspbian-root-tarball b/solenv/bin/make-raspbian-root-tarball
index a6540e9f9b1e..71054095715b 100755
--- a/solenv/bin/make-raspbian-root-tarball
+++ b/solenv/bin/make-raspbian-root-tarball
@@ -61,7 +61,7 @@ rm $FILELIST
 
 cd $STAGINGDIR
 # Change absolute symlinks to relative
-find . -type l | xargs ls -ld | grep -- '-> /' | 
+find . -type l -print0 | xargs -0 ls -ld | grep -- '-> /' | 
     while read mode links user group size month day yearortime link arrow target; do
 	target=`echo "$target" | sed -e 's,/,..;,'`
 	while test `expr index $target /` -gt 0; do


More information about the Libreoffice-commits mailing list