summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-10 21:51:52 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-10 21:51:52 -0400
commit2075ae5bde40b35691f52c750b14e19fe298f1f4 (patch)
treecdc58d1c1aed105f9ff7a367b6d243456830620c
parent1b2ae0a79fb7ece3824336e28b072ba96f32ea01 (diff)
downloadgpsd-2075ae5bde40b35691f52c750b14e19fe298f1f4.tar.gz
Don't wire in what you can deduce.
-rwxr-xr-xdevtools/cov-scan10
1 files changed, 7 insertions, 3 deletions
diff --git a/devtools/cov-scan b/devtools/cov-scan
index 5d15ece3..1572be7f 100755
--- a/devtools/cov-scan
+++ b/devtools/cov-scan
@@ -11,6 +11,10 @@ DROP_SCP=esr@login.ibiblio.org:/public/html/catb/esr
#
# Public URL for the drop destination
DROP_HTML=http://catb.org/~esr
+#
+# Things we can deduce
+name=`git config core.name`
+email=`git config core.email`
echo "Rebuilding and scanning..."
scons -c
@@ -19,8 +23,8 @@ cov-build --dir cov-int /usr/bin/scons
echo "Bundling up required metadata..."
cat >/tmp/README <<EOF
-Name: Eric S. Raymond
-Email: esr@thyrsus.com
+Name: $name
+Email: $email
Project: gpsd
EOF
mv cov-int /tmp;
@@ -34,4 +38,4 @@ url=$DROP_HTML/gpsd-scan.tgz
echo $url
# Submit to http://scan.coverity.com/submit.html
-The project's build password is v2tradeC
+# The project's build password is v2tradeC