m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch-1_4: small safety nit


From: Ralf Wildenhues
Subject: branch-1_4: small safety nit
Date: Thu, 7 Sep 2006 14:38:15 +0200
User-agent: Mutt/1.5.13 (2006-09-01)

Hello Eric,

I'd feel just a tad better with this additional quoting, see patch
below.

BTW, please Cc: me on replies, I'm not subscribed to any of the M4 lists
(can your mailer be configured to honor Mail-Followup-To:?).

Cheers,
Ralf

        * checks/check-them: Quote $pwd.

Index: checks/check-them
===================================================================
RCS file: /cvsroot/m4/m4/checks/Attic/check-them,v
retrieving revision 1.1.1.1.2.12
diff -u -r1.1.1.1.2.12 check-them
--- checks/check-them   4 Sep 2006 14:19:37 -0000       1.1.1.1.2.12
+++ checks/check-them   7 Sep 2006 12:36:45 -0000
@@ -8,7 +8,7 @@
 # Clean up temp files on exit
 pwd=`pwd`
 tmp=m4-tmp.$$
-trap 'stat=$?; cd $pwd; rm -rf $tmp && exit $stat' 0
+trap 'stat=$?; cd "$pwd"; rm -rf $tmp && exit $stat' 0
 trap '(exit $?); exit $?' 1 2 13 15
 
 # Create scratch dir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]