mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
debian: fix linking in emacsen-install script
When upgrading emacs, the install file can (apparently) be called with the lisp files already linked into the flavour specific directories. In this case we should not fail.
This commit is contained in:
parent
c66e0d4bc2
commit
e84a51e5c4
1 changed files with 1 additions and 1 deletions
2
debian/notmuch-emacs.emacsen-install
vendored
2
debian/notmuch-emacs.emacsen-install
vendored
|
@ -31,7 +31,7 @@ echo install/${PACKAGE}: byte-compiling for ${FLAVOR}
|
||||||
# Create symlinks to the .el files (see section 6E in debian-emacs
|
# Create symlinks to the .el files (see section 6E in debian-emacs
|
||||||
# polcy). This makes complation easy, and also allows find-function
|
# polcy). This makes complation easy, and also allows find-function
|
||||||
# and find-library to work properly.
|
# and find-library to work properly.
|
||||||
(cd ${elc_dir} && cp -s ${el_dir}/*.el .)
|
(cd ${elc_dir} && ln -sf ${el_dir}/*.el .)
|
||||||
|
|
||||||
# Byte compile them
|
# Byte compile them
|
||||||
(cd ${elc_dir}
|
(cd ${elc_dir}
|
||||||
|
|
Loading…
Reference in a new issue