From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WxyVq-0005Jd-OW for ptxdist@pengutronix.de; Fri, 20 Jun 2014 15:05:51 +0200 Received: by mail-we0-f171.google.com with SMTP id q58so3814332wes.16 for ; Fri, 20 Jun 2014 06:05:45 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 20 Jun 2014 15:05:43 +0200 Message-ID: From: marc doz Subject: [ptxdist] how to escape $ in a rule ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1094578864==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1094578864== Content-Type: multipart/alternative; boundary=001a11c1b326ad8ec904fc442666 --001a11c1b326ad8ec904fc442666 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I=E2=80=99m writing a recipe & I=E2=80=99m using install_copy & install_tre= e function in my recipe foo.make $(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar, /AAA/foo$1.bar) $(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/) I would like to avoid the substitution of $1 because the file name that I would like embed is really foo$1.bar & ptxdist try to copy foo.bar with install_copy & install_tree.. Do you know a way for escaping the $ ? $$ don=E2=80=99t seem work Thank you for your attention #ptxdist version 2012.03.0 Marc --001a11c1b326ad8ec904fc442666 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

I=E2=80=99m writing a recipe & I=E2=80=99m using= install_copy & install_tree function in my recipe foo.make

$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA= /foo$1.bar, /AAA/foo$1.bar)

$(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA= /, /AAA/)


I would like to avoid= the substitution of $1 because the file name that I would like embed is really foo$1.bar=C2=A0 & ptxdist t= ry to copy foo.bar with install_copy & install_tree..


Do you know=C2=A0 a w= ay for escaping the $ ?


$$ don=E2=80=99t seem= work


Thank you for your at= tention


#ptxdist version

2012.03.0


Marc

--001a11c1b326ad8ec904fc442666-- --===============1094578864== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1094578864==--