From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Paths including spaces fail the installation: Patch Date: Thu, 14 Mar 2013 07:49:19 +0100 Message-ID: <87r4jifpcg.fsf@Rainer.invalid> References: <87ip4vnpau.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG1z4-000741-GN for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 02:49:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG1z1-0007aQ-MU for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 02:49:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:53068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG1z1-0007aG-Fj for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 02:49:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UG1zE-0003yL-RV for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 07:50:00 +0100 Received: from pd9eb5adb.dip.t-dialin.net ([217.235.90.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Mar 2013 07:50:00 +0100 Received: from Stromeko by pd9eb5adb.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Mar 2013 07:50:00 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org [please reply to the list] > BS-Quoting and Doublequote-ing were the first things I tried: […] Yes I see, that is due to inadvertent double quoting. Try this definition in local.mk (not the extra two single quotes around $(datadir)): --8<---------------cut here---------------start------------->8--- # How to generate org-version.el MAKE_ORG_VERSION = $(BATCHL) \ --eval '(load "org-compat.el")' \ --eval '(load "../mk/org-fixup.el")' \ --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" "'$(datadir)'")' --8<---------------cut here---------------end--------------->8--- Please test, I'll push the fix if it solves your problem. > But quite apart from that, I seems like the right thing to me to make > sure that things that should be one string get interpreted as one > string on the logic level, which even fixing the escaping behaviour > would not do in the makefiles themselves. The build system assumes that these definitions will always be interpreted by the shell (the above fix makes sure it actually does), so you need to shell-quote in the definitions already. The Makefile itself never cares what those strings are, embedded spaces or not. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada