Update buidlibfuse.sh

This commit is contained in:
longpanda 2020-05-21 12:45:39 +08:00 committed by GitHub
parent efa7a942ac
commit b0c321dfc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -5,10 +5,14 @@ CUR="$PWD"
rm -rf libfuse
rm -rf LIBFUSE
unzip mirrors-libfuse-fuse-2.9.9.zip
if [ -e mirrors-libfuse-fuse-2.9.9.zip ]; then
unzip mirrors-libfuse-fuse-2.9.9.zip
cd libfuse
else
unzip libfuse-fuse-2.9.9.zip
cd libfuse-fuse-2.9.9
fi
cd libfuse
./makeconf.sh
./configure --prefix="$CUR/LIBFUSE"