Finish fsw script changes
This commit is contained in:
parent
39e60072bb
commit
af4be9aa3a
3
bin/fsw
3
bin/fsw
|
@ -62,7 +62,6 @@ inotifywait -m -e "${FSW_EVENTS}" -r "${DIRS[@]}" 2>&1 \
|
||||||
export FSW_DIR="$dir"
|
export FSW_DIR="$dir"
|
||||||
export FSW_PATH="$dir$filename"
|
export FSW_PATH="$dir$filename"
|
||||||
export FSW_FILE_EVENTS="$events"
|
export FSW_FILE_EVENTS="$events"
|
||||||
<<< "$FSW_PATH" grep -P
|
<<< "$FSW_PATH" grep -P "$FILTER" > /dev/null 2>&1 && eval "${SHELL_COMMAND}"
|
||||||
eval "${SHELL_COMMAND}"
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Reference in a new issue