detect-hardlinks.sh: Show which files are hard links

This commit is contained in:
Fredrik Fornwall 2015-10-11 11:32:19 -04:00
parent 9e7e94c87f
commit 4245f247d6
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ for f in * */subpackages/*; do
if [ -d $f/massage ]; then
cd $f/massage
if [ -n "$(find . -type f -links +1)" ]; then
echo "$f contains hardlink, which will not work on Android 6.0+"
echo "$f contains hardlink, which will not work on Android 6 or later:"
find . -type f -links +1
fi
fi
done