Kaydet (Commit) aa8fdfd2 authored tarafından Yeliz Taneroğlu's avatar Yeliz Taneroğlu Kaydeden (comit) Chris Sherlock

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/37658Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
üst 6c5ba692
...@@ -61,7 +61,7 @@ rm $FILELIST ...@@ -61,7 +61,7 @@ rm $FILELIST
cd $STAGINGDIR cd $STAGINGDIR
# Change absolute symlinks to relative # 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 while read mode links user group size month day yearortime link arrow target; do
target=`echo "$target" | sed -e 's,/,..;,'` target=`echo "$target" | sed -e 's,/,..;,'`
while test `expr index $target /` -gt 0; do while test `expr index $target /` -gt 0; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment