Skip to content

Commit

Permalink
Update build_libfuse.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy authored May 21, 2020
1 parent b0c321d commit 90fa7ad
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions FUSEISO/build_libfuse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ LIBFUSE_DIR=$CUR/LIBFUSE
rm -rf libfuse
rm -rf $LIBFUSE_DIR

# please download https://gitee.com/mirrors/libfuse/repository/archive/fuse-2.9.9.zip
if ! [ -e ../ExFAT/mirrors-libfuse-fuse-2.9.9.zip ]; then
# please download https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9
if [ -e ../ExFAT/mirrors-libfuse-fuse-2.9.9.zip ]; then
rm -rf libfuse
unzip ../ExFAT/mirrors-libfuse-fuse-2.9.9.zip
cd libfuse
elif [ -e ../ExFAT/libfuse-fuse-2.9.9.zip ]; then
rm -rf libfuse-fuse-2.9.9
unzip ../ExFAT/libfuse-fuse-2.9.9.zip
cd libfuse-fuse-2.9.9
else
echo "Please download mirrors-libfuse-fuse-2.9.9.zip first"
exit 1
fi

unzip ../ExFAT/mirrors-libfuse-fuse-2.9.9.zip


cd libfuse
./makeconf.sh

./configure --prefix="$LIBFUSE_DIR"
Expand Down

0 comments on commit 90fa7ad

Please sign in to comment.