X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=debian%2Fnotmuch.emacsen-install;h=4982691efe0098d366017424096eddc925088dad;hp=67602604b735bfcb213bc4741b1b2c3105565428;hb=ba8ee48dcb7dc972996a258401425855cafe4f71;hpb=dfbec15b2388158693ab0dce0c7d348c4c5a98a5 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