[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: can't get shell var to work in rule
From: |
Nestor Amaya |
Subject: |
RE: can't get shell var to work in rule |
Date: |
Thu, 28 Feb 2002 17:29:56 -0500 |
Hi,
I had the same problem. Do the following:
find $(TMPDIR) -name '*~' | while read line; do rm "$$line"; done
Cheers,
Nestor
-----Original Message-----
From: Nicholas Charles Leippe [mailto:address@hidden
Sent: Thursday, February 28, 2002 4:43 PM
To: address@hidden
Subject: can't get shell var to work in rule
I have in one of my rules:
find $(TMPDIR) -name '*~' | while read line; do rm "$line"; done
when executed it becomes:
find /tmp -name '*~' | while read line; do rm "ine"; done
I've tried all combinations of escapes and haven't been able to
figure it out.
make 3.79.1 under cygwin (w2k)
bash 2.05a.0(2)
Nick
_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make