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@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
This commit is contained in:
Yeliz Taneroğlu 2017-05-15 23:26:19 +03:00 committed by Chris Sherlock
parent 6c5ba69262
commit aa8fdfd2c2

View file

@ -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