]> git.notmuchmail.org Git - notmuch/blobdiff - debian/notmuch-emacs.emacsen-install
debian: fix linking in emacsen-install script
[notmuch] / debian / notmuch-emacs.emacsen-install
index f35ef48e66e611aea45c8c04e98ff8af3d1ba976..bcfdbb8a581b9e475014d27185dd75f717945cdf 100755 (executable)
@@ -31,7 +31,7 @@ echo install/${PACKAGE}: byte-compiling for ${FLAVOR}
 # Create symlinks to the .el files (see section 6E in debian-emacs
 # polcy).  This makes complation easy, and also allows find-function
 # 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
 (cd ${elc_dir}