diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2014-09-24 19:04:35 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2014-09-24 19:04:35 +0200 |
commit | 9ac89694c2ed88318d3c275a18d9c379e67dc7b6 (patch) | |
tree | 7c355d4c579fec7c383b65c1c04c5c1ccfe07b96 /emacs-helm.sh | |
parent | 57070b85805a144184f70792876238c06f5a1145 (diff) |
* emacs-helm.sh: Fix relsymlink by using readlink for now (#631).
Diffstat (limited to 'emacs-helm.sh')
-rwxr-xr-x | emacs-helm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs-helm.sh b/emacs-helm.sh index d8f01d54..29c51eb5 100755 --- a/emacs-helm.sh +++ b/emacs-helm.sh @@ -40,7 +40,7 @@ esac # Check if autoload file exists. # It is maybe in a different directory if # emacs-helm.sh is a symlink. -LS=$(ls -l $0 | awk '{print $11}') +LS=$(readlink -f $0) if [ ! -z $LS ]; then AUTO_FILE="$(dirname $LS)/helm-autoloads.el" else |