summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-04-06 16:28:01 -0700
committerCarl Worth <cworth@cworth.org>2010-04-06 18:30:43 -0700
commitba8ee48dcb7dc972996a258401425855cafe4f71 (patch)
treea161d6476cc58f5ac818468bb7087073cf839758
parentdfbec15b2388158693ab0dce0c7d348c4c5a98a5 (diff)
debian: Fix broken symlinking of emacs lisp files.
This broke when we changed from a single notmuch.el file to multiple notmuch-foo.el files.
-rwxr-xr-xdebian/notmuch.emacsen-install6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/notmuch.emacsen-install b/debian/notmuch.emacsen-install
index 6760260..4982691 100755
--- a/debian/notmuch.emacsen-install
+++ b/debian/notmuch.emacsen-install
@@ -28,12 +28,14 @@ install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
cd ${ELCDIR}
-ln -sf ${ELDIR}/${FILES} ${ELCDIR}
+for file in ${FILES}; do
+ ln -sf ${ELDIR}/${file} .
+done
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
-rm -f path.el
+rm -f *.el
exit 0