]> git.pld-linux.org Git - packages/autoconf2_13.git/blob - autoconf2_13-tmprace.patch
- makes autoconf install in %{_datadir}/autoconf2_13
[packages/autoconf2_13.git] / autoconf2_13-tmprace.patch
1 --- autoconf-2.12/autoconf.sh.race      Thu Aug 27 19:01:23 1998
2 +++ autoconf-2.12/autoconf.sh   Thu Aug 27 19:05:04 1998
3 @@ -45,7 +45,7 @@
4  esac
5  
6  : ${TMPDIR=/tmp}
7 -tmpout=${TMPDIR}/acout.$$
8 +tmpout=`/bin/mktemp ${TMPDIR}/acout.XXXXXX`
9  localdir=
10  show_version=no
11  
12 @@ -97,10 +97,10 @@
13  
14  trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
15  
16 -tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
17 +tmpin=`/bin/mktemp ${TMPDIR}/acin.XXXXXX`
18 +# Always set this, to avoid bogus errors from some rm's.
19  if test z$infile = z-; then
20    infile=$tmpin
21 -  cat > $infile
22  elif test ! -r "$infile"; then
23    echo "autoconf: ${infile}: No such file or directory" >&2
24    exit 1
25 --- autoconf-2.12/autoheader.sh.race    Thu Aug 27 19:05:19 1998
26 +++ autoconf-2.12/autoheader.sh Thu Aug 27 19:08:18 1998
27 @@ -194,9 +194,9 @@
28    # Some fgrep's have limits on the number of lines that can be in the
29    # pattern on the command line, so use a temporary file containing the
30    # pattern.
31 -  (fgrep_tmp=${TMPDIR-/tmp}/autoh$$
32 +  (fgrep_tmp=`/bin/mktemp ${TMPDIR-/tmp}/autoh$$.XXXXXX`
33     trap "rm -f $fgrep_tmp; exit 1" 1 2 15
34 -   cat > $fgrep_tmp <<EOF
35 +   cat >> $fgrep_tmp <<EOF
36  $syms
37  EOF
38     fgrep -f $fgrep_tmp
39 --- autoconf-2.12/autoupdate.sh.race    Thu Aug 27 19:09:12 1998
40 +++ autoconf-2.12/autoupdate.sh Thu Aug 27 19:10:05 1998
41 @@ -26,7 +26,7 @@
42  Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir] 
43         [--version] [template-file]" 
44  
45 -sedtmp=/tmp/acups.$$
46 +sedtmp=`/bin/mktemp /tmp/acups.XXXXXX`
47  # For debugging.
48  #sedtmp=/tmp/acups
49  show_version=no
This page took 0.12013 seconds and 3 git commands to generate.