aboutsummaryrefslogtreecommitdiffstats
path: root/support/bashbug.sh
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1998-04-17 19:52:44 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:51 +0000
commitcce855bc5b117cb7ae70064131120687bc69fac0 (patch)
tree39c7a4ec8f6d22ef03df74f2684e6a04fef10399 /support/bashbug.sh
parente8ce775db824de329b81293b4e5d8fbd65624528 (diff)
downloadandroid_external_bash-cce855bc5b117cb7ae70064131120687bc69fac0.tar.gz
android_external_bash-cce855bc5b117cb7ae70064131120687bc69fac0.tar.bz2
android_external_bash-cce855bc5b117cb7ae70064131120687bc69fac0.zip
Imported from ../bash-2.02.tar.gz.
Diffstat (limited to 'support/bashbug.sh')
-rw-r--r--support/bashbug.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/support/bashbug.sh b/support/bashbug.sh
index e12fdac..06fb93d 100644
--- a/support/bashbug.sh
+++ b/support/bashbug.sh
@@ -4,7 +4,7 @@
#
# The bug address depends on the release status of the shell. Versions
# with status `alpha' or `beta' mail bug reports to chet@po.cwru.edu.
-# Other versions send mail to bug-bash@prep.ai.mit.edu.
+# Other versions send mail to bug-bash@gnu.org.
#
# configuration section:
# these variables are filled in by the make target in cpp-Makefile
@@ -34,7 +34,7 @@ BASHTESTERS="bash-testers@po.cwru.edu"
case "$RELSTATUS" in
alpha*|beta*) BUGBASH=chet@po.cwru.edu ;;
-*) BUGBASH=bug-bash@prep.ai.mit.edu ;;
+*) BUGBASH=bug-bash@gnu.org ;;
esac
case "$RELSTATUS" in
@@ -69,6 +69,9 @@ else
RMAIL=rmail
fi
+# this is raceable
+rm -f $TEMP
+
cat > $TEMP <<EOF
From: ${USER}
To: ${BUGADDR}
@@ -98,8 +101,10 @@ Fix:
fix for the problem, don't include this section.]
EOF
-chmod u+w $TEMP
+# this is still raceable
+rm -f $TEMP.x
cp $TEMP $TEMP.x
+chmod u+w $TEMP
trap '' 2 # ignore interrupts while in editor