diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-21 03:40:02 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-21 03:40:02 +0100 |
commit | 15266ebb181c500532af95845c84eb9d2a933c69 (patch) | |
tree | 5c5c9f3e619fc03ef31ac120c631d34bf860c55c /script/load-exim-logs | |
parent | d1d4c88c33cb2170f26b27b8d34e2280a7b532ff (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-x | script/load-exim-logs | 4 |
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 |