setup-android-sdk.sh: Fix mac sdk download
[termux-packages] / scripts / detect-hardlinks.sh
1 #!/bin/sh
2
3 cd $HOME/termux
4
5 for f in * */subpackages/*; do
6 cd $HOME/termux
7 if [ -d $f/massage ]; then
8 cd $f/massage
9 if [ -n "$(find . -type f -links +1)" ]; then
10 echo "$f contains hardlink, which will not work on Android 6 or later:"
11 find . -type f -links +1
12 fi
13 fi
14 done