diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-08 21:30:57 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-08 21:30:57 +0200 |
commit | 002175a951e8f4a98ee98a94dc7db70169cd6f08 (patch) | |
tree | fc2fbf4a6c61bd1a8ab913985ae0c75695c8f0f5 /hook | |
parent | e177a5b8179bf5e652b67c222710470b6acf214e (diff) | |
download | mkinitcpio-archlogo-002175a951e8f4a98ee98a94dc7db70169cd6f08.tar.gz mkinitcpio-archlogo-002175a951e8f4a98ee98a94dc7db70169cd6f08.tar.zst |
change dir before cat
This should work around whan anybody tries to give pathes, not only the
name.
Diffstat (limited to 'hook')
-rw-r--r-- | hook/archlogo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hook/archlogo b/hook/archlogo index 688b84b..c2ceeee 100644 --- a/hook/archlogo +++ b/hook/archlogo @@ -2,5 +2,6 @@ run_earlyhook() { source /etc/archlogo.conf - cat "/usr/share/archlogo/${ARCHLOGO}" + cd /usr/share/archlogo/ + cat "${ARCHLOGO}" } |