[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] [Peter Dyballa] --enable-locallisppath=PATH does not work when P
From: |
Jérôme Marant |
Subject: |
[PATCH] [Peter Dyballa] --enable-locallisppath=PATH does not work when PATH contains space |
Date: |
Tue, 07 Jun 2005 22:32:47 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Hi,
The following patch seems to fix the problem.
Please confirm.
Regards,
diff -u -r emacs.orig/ChangeLog emacs/ChangeLog
--- emacs.orig/ChangeLog 2005-06-07 22:07:31.466158056 +0200
+++ emacs/ChangeLog 2005-06-07 22:26:48.707230672 +0200
@@ -1,3 +1,8 @@
+2005-06-07 Jérôme Marant <address@hidden>
+
+ * Makefile.in (epaths-force): Protect both lisppath
+ and buildlisppath from whitespaces.
+
2005-06-06 Jan Djärv <address@hidden>
* configure.in (HAVE_CANCELMENUTRACKING): New test.
diff -u -r emacs.orig/Makefile.in emacs/Makefile.in
--- emacs.orig/Makefile.in 2004-12-23 22:40:31.000000000 +0100
+++ emacs/Makefile.in 2005-06-07 22:19:39.384497648 +0200
@@ -260,8 +260,8 @@
x_default_search_path=`echo ${x_default_search_path}`; \
gamedir=`echo ${gamedir}`; \
sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \
- -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
- -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
+ -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'"$${lisppath}"'";' \
+ -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'"$${buildlisppath}"'";' \
-e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
-e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
-e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
--
Jérôme Marant
- [PATCH] [Peter Dyballa] --enable-locallisppath=PATH does not work when PATH contains space,
Jérôme Marant <=