Re: [ID 20000328.039] [PATCH] Eliminate Configure use of /tmp
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 13 Dec 2000 10:36:09 +0000 (05:36 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 13 Dec 2000 16:46:48 +0000 (16:46 +0000)
Message-ID: <Pine.SOL.4.10.10012131031230.2017-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@8099

Configure

index cb9fa94..18e64b6 100755 (executable)
--- a/Configure
+++ b/Configure
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Sun Dec  3 18:14:37 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Wed Dec 13 17:45:13 EET 2000 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
-cat >/tmp/c1$$ <<EOF
+cat >c1$$ <<EOF
 ARGGGHHHH!!!!!
 
 SCO csh still thinks true is false.  Write to SCO today and tell them that next
@@ -34,18 +34,18 @@ we'd have to do is go in and swap the && and || tokens, wherever they are.)
 
 [End of diatribe. We now return you to your regularly scheduled programming...]
 EOF
-cat >/tmp/c2$$ <<EOF
+cat >c2$$ <<EOF
 
 OOPS!  You naughty creature!  You didn't run Configure with sh!
 I will attempt to remedy the situation by running sh for you...
 EOF
 
-true || cat /tmp/c1$$ /tmp/c2$$
+true || cat c1$$ c2$$
 true || exec sh $0 $argv:q
 
-(exit $?0) || cat /tmp/c2$$
+(exit $?0) || cat c2$$
 (exit $?0) || exec sh $0 $argv:q
-rm -f /tmp/c1$$ /tmp/c2$$
+rm -f c1$$ c2$$
 
 : compute my invocation name
 me=$0