completion/fabric: use `$OSTYPE` instead of `uname`

pull/1911/head
John D Pell 2021-08-08 22:03:16 -04:00
parent 59477c1cf8
commit 2f79932967
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ export FAB_COMPLETION_CACHED_TASKS_FILENAME=".fab_tasks~"
# Set command to get time of last file modification as seconds since Epoch # Set command to get time of last file modification as seconds since Epoch
case `uname` in case "$OSTYPE" in
Darwin|FreeBSD) 'darwin'*|'freebsd'*)
__FAB_COMPLETION_MTIME_COMMAND="stat -f '%m'" __FAB_COMPLETION_MTIME_COMMAND="stat -f '%m'"
;; ;;
*) *)