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:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:43 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to