Permalink
Browse files

emacsen-install uses symlinks Closes: #653854

  • Loading branch information...
Craig Small
Craig Small committed Jan 23, 2012
1 parent 4cee20a commit 684729d8ab1769084cb51d084c4b2b0fb9ff7f95
Showing with 4 additions and 3 deletions.
  1. +2 −1 debian/changelog
  2. +2 −2 lib/debian/emacsen-install.ex
View
@@ -1,8 +1,9 @@
dh-make (0.60) unstable; urgency=low
* Added logname check Closes: #646924
+ * emacsen-install uses symlinks Closes: #653854
- -- Craig Small <csmall@debian.org> Mon, 23 Jan 2012 22:40:40 +1100
+ -- Craig Small <csmall@debian.org> Mon, 23 Jan 2012 22:49:20 +1100
dh-make (0.59) unstable; urgency=low
@@ -33,13 +33,13 @@ fi
install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
+ln -sf ${ELCDIR}/*.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

0 comments on commit 684729d

Please sign in to comment.