Line 0
Link Here
|
|
|
1 |
https://bugs.gentoo.org/800177 |
2 |
|
3 |
--- helm-3.6.0/emacs-helm.sh |
4 |
+++ helm-3.6.0/emacs-helm.sh |
5 |
@@ -138,13 +138,7 @@ |
6 |
cd "${0%/*}" || exit 1 |
7 |
|
8 |
# Check if autoload file exists. |
9 |
-# It may be in a different directory if emacs-helm.sh is a symlink. |
10 |
-TRUENAME=$(find . -samefile "$0" -printf "%l") |
11 |
-if [ ! -z "$TRUENAME" ]; then |
12 |
- AUTO_FILE="${TRUENAME%/*}/helm-autoloads.el" |
13 |
-else |
14 |
- AUTO_FILE="helm-autoloads.el" |
15 |
-fi |
16 |
+AUTO_FILE="@SITELISP@/helm-autoloads.el" |
17 |
if [ ! -e "$AUTO_FILE" ]; then |
18 |
echo No autoloads found, please run make first to generate autoload file |
19 |
exit 1 |