The original patch created the wrong links, this one should work fine.
Sorry about the noise. :-)

-Hilko
diff --git a/lib/debian/emacsen-install.ex b/lib/debian/emacsen-install.ex
index 40b52c9..afff070 100644
--- a/lib/debian/emacsen-install.ex
+++ b/lib/debian/emacsen-install.ex
@@ -33,13 +33,13 @@ fi
 install -m 755 -d ${ELCDIR}
 cd ${ELDIR}
 FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
 cd ${ELCDIR}
+ln -sf ${ELDIR}/*.el .
 
 cat << EOF > path.el
 (setq load-path (cons "." load-path) byte-compile-warnings nil)
 EOF
 ${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
+rm -f path.el
 
 exit 0

Reply via email to