From: Carl Worth Date: Tue, 6 Apr 2010 23:28:01 +0000 (-0700) Subject: debian: Fix broken symlinking of emacs lisp files. X-Git-Tag: debian-0.1-1~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba8ee48dcb7dc972996a258401425855cafe4f71;p=notmuch.git 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. --- diff --git a/debian/notmuch.emacsen-install b/debian/notmuch.emacsen-install index 67602604..4982691e 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