This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

services/flix/ipfs: use tab-delimited inotify format for paths with spaces

Directory names like "Searching (2018)" broke the space-separated
inotifywait output parsing, causing file events inside those
directories to be silently dropped.

+2 -2
+2 -2
2configs/services/flix/ipfs.nix
··· 90 90 91 91 # watch for changes 92 92 log "Watching directories: ${lib.concatStringsSep ", " watchDirs}" 93 - $INOTIFYWAIT -m -r \ 93 + $INOTIFYWAIT -m -r --format $'%w\t%e\t%f' \ 94 94 -e close_write \ 95 95 -e moved_to \ 96 96 -e moved_from \ 97 97 -e delete \ 98 98 -e create \ 99 99 ${lib.escapeShellArgs watchDirs} | 100 - while read -r dir event file; do 100 + while IFS=$'\t' read -r dir event file; do 101 101 path="''${dir}''${file}" 102 102 case "$event" in 103 103 CREATE,ISDIR*|MOVED_TO,ISDIR*)