/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.4.1
osx/Fuse/patch.sh
16 строк
683 B
Gabriel Handford
Use KBFuse 3.4.0 (#3529)
20 июл 2016, 20:31
20 июл 2016, 20:31
bbb9660
Код
Авторство
О чём код?
#!/usr/bin/env bash # Rename everything osxfuse to kbfuse # Run multiple times to workaround dir renames (TODO: Fix hack) ./rename.sh || ./rename.sh || ./rename.sh || ./rename.sh # Undo rename of MOUNT_OSXFUSE_CALL_BY_LIB to MOUNT_KBFUSE_CALL_BY_LIB. # MOUNT_OSXFUSE_CALL_BY_LIB is something we clear in bazil, and isn't configurable, # so we revert the rename here. We'll have a better workaround in the future, # either by allowing us to pass in env to bazil mount or if we use the new # mount methods in OSXFuse 3.x. files=("*.c" "*.h" "*.m") for i in "${files[@]}" do find . -name "$i" -type f -exec sed -i '' s/MOUNT_KBFUSE_CALL_BY_LIB/MOUNT_OSXFUSE_CALL_BY_LIB/g {} + done