diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-02 07:51:11 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-02 07:51:11 -0800 |
commit | 8c346d337c4b10013d1c81c39e4f3d526e9d3049 (patch) | |
tree | 6790e852e2fc32a5e38b9df0c44447d7abf3dc01 /Library | |
parent | 02ccb263caa97381f1eaf9ed305ff57fd7b69734 (diff) |
Users do not actually have stat (which is stupid).v1.1.28%b13v1.1.28%b12
Diffstat (limited to 'Library')
-rwxr-xr-x | Library/firmware.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/firmware.sh b/Library/firmware.sh index c01c23e..f7479ba 100755 --- a/Library/firmware.sh +++ b/Library/firmware.sh @@ -50,8 +50,6 @@ EOF } # }}} -before=$(stat -c '%i-%Y' "${status}") - output=$(mktemp "${data}"/status-tmp.XXXXXX) chmod 644 "${output}" xxxxxx=${output##*/status-tmp.} @@ -145,8 +143,6 @@ rm -f "${data}"/status-tmp.!("${xxxxxx}") } >"${output}" -# XXX: this is a poor replacement for flock -test "${before}" = "$(stat -c '%i-%Y' "${status}")" mv -f "${output}" "${status}" if [[ ${cpu} == arm || ${cpu} == arm64 ]]; then |