diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-31 02:15:53 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-01-31 21:44:35 +0100 |
commit | 643e98eeb42677a9ce8c32fa44d4ee61d02f7fcf (patch) | |
tree | 4741c749f06e3dd96260fc8b6f7d49a477f7853c /hooks/resume | |
parent | 19989173595b854ccd745f932864cf891606613c (diff) | |
download | mkinitcpio-643e98eeb42677a9ce8c32fa44d4ee61d02f7fcf.tar.gz mkinitcpio-643e98eeb42677a9ce8c32fa44d4ee61d02f7fcf.tar.xz |
Use new helper functions instead of system commands
Replace all of the repeated calls to dirname and basename with our new
replacments. Also replace the 'grep ... /dev/null' idiom with calls to
'grep -q', which does exactly what we want.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'hooks/resume')
0 files changed, 0 insertions, 0 deletions