Skip to content

Commit

Permalink
Attempt to Fix stat Format for BSDs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhandte committed Mar 8, 2021
1 parent 141b270 commit 3dd0e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/playTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ esac

GET_PERMS="stat -c %a"
case "$UNAME" in
Darwin | FreeBSD | OpenBSD | NetBSD) GET_PERMS="stat -f %a" ;;
Darwin | FreeBSD | OpenBSD | NetBSD) GET_PERMS="stat -f %Lp" ;;
esac

assertFilePermissions() {
Expand Down

0 comments on commit 3dd0e9d

Please sign in to comment.