mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Adjusts the file mode check for BSD based systems as default BSD stat uses "-f '%p'" to report the file mode. Also since `stat -p '%p' "$filename"` reports more information than just read, write, execute perms, pipe the output through `cut` to grab only the last three digits. Signed-off-by: Adam Jimerson <vendion@gmail.com>
53 KiB
Executable File
53 KiB
Executable File