diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-04 19:55:36 -0400 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-05 02:24:30 +0200 |
commit | c6adbe7a36a7330debfaa07d4351bcd80d479214 (patch) | |
tree | 1939b750a00b1c146fbee0a712b88c280c2a6e4f /hwclock | |
parent | 0dfd69b9e8617ef15413e5022442017603be5344 (diff) |
add PATH, strip absolute path from binaries
Since we're declaring a PATH anyways, we may as well use it. This gives
us immunity against binaries moving around, as in the recent case of
iproute2. A few other minor, associated, tweaks to go along with this:
* any -x tests are modified to use 'type -P' to resolve the path before
checking for execute permission
* any pidof checks are stripped of paths as well.
Diffstat (limited to 'hwclock')
0 files changed, 0 insertions, 0 deletions