From 002175a951e8f4a98ee98a94dc7db70169cd6f08 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 8 Oct 2013 21:30:57 +0200 Subject: change dir before cat This should work around whan anybody tries to give pathes, not only the name. --- hook/archlogo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hook') 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}" } -- cgit v1.2.3-70-g09d2