aboutsummaryrefslogtreecommitdiffstats
path: root/script/load-exim-logs
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-06-21 03:40:02 +0100
committerRobin Houston <robin@lenny.robin>2011-06-21 03:40:02 +0100
commit15266ebb181c500532af95845c84eb9d2a933c69 (patch)
tree5c5c9f3e619fc03ef31ac120c631d34bf860c55c /script/load-exim-logs
parentd1d4c88c33cb2170f26b27b8d34e2280a7b532ff (diff)
Fix the scripts so they work even if there is a space in the path
Diffstat (limited to 'script/load-exim-logs')
-rwxr-xr-xscript/load-exim-logs4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/load-exim-logs b/script/load-exim-logs
index 4c6c57b5a..7e7f37a35 100755
--- a/script/load-exim-logs
+++ b/script/load-exim-logs
@@ -5,7 +5,7 @@ LOC=`dirname $0`
# Specific file if specified
if [ x$1 != x ]
then
- $LOC/runner 'EximLog.load_file("'$1'")'
+ "$LOC/runner" 'EximLog.load_file("'$1'")'
exit
fi
@@ -14,7 +14,7 @@ LATEST=$( ls /var/log/exim4/exim-mainlog-* 2>/dev/null | sort | tail -3 )
for X in $LATEST
do
# echo "doing $X"
- $LOC/runner 'EximLog.load_file("'$X'")'
+ "$LOC/runner" 'EximLog.load_file("'$X'")'
done