diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-08-01 15:22:32 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-08-01 15:22:32 +0100 |
commit | c9d8f483e727734a7f0afad9871df516e8c0470c (patch) | |
tree | f706fcc00cd82c69b90019dd00606905c7a83d43 /script | |
parent | 48c4c19c64c719af8d23c9d46111539b9d447b6d (diff) | |
parent | 1df6f6bfaf51c71c40bca4228cf3db5006306694 (diff) |
Merge remote-tracking branch 'origin/develop' into develop
Diffstat (limited to 'script')
-rwxr-xr-x | script/load-exim-logs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/load-exim-logs b/script/load-exim-logs index 5ca0c66f8..00b6b9825 100755 --- a/script/load-exim-logs +++ b/script/load-exim-logs @@ -5,7 +5,10 @@ LOC=`dirname "$0"` # Specific file if specified if [ x$1 != x ] then - f=`abspath "$1"` + case "$1" in + /*) f=$1 ;; + *) f=$(pwd)/$1 ;; + esac cd "$LOC" bundle exec ./runner 'EximLog.load_file("'$f'")' exit |