summaryrefslogtreecommitdiff
path: root/revenge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'revenge.sh')
-rwxr-xr-xrevenge.sh34
1 files changed, 18 insertions, 16 deletions
diff --git a/revenge.sh b/revenge.sh
index cca3ea8..e60c2e0 100755
--- a/revenge.sh
+++ b/revenge.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# $Id$
-# Copyright (C) 2007 Oliver McFadden <z3ro.geek@gmail.com>
+# Copyright (C) 2007 2011 Oliver McFadden <omcfadde@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,14 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-echo -n "checking whether you are root... "
-if [ "$UID" -eq 0 ]; then
- echo "yes"
-else
- echo "no"
- exit 1
-fi
-
echo -n "checking whether X is running... "
if [ -n "$DISPLAY" ]; then
echo "yes"
@@ -79,18 +71,28 @@ else
exit 1
fi
-./configure && make && ./src/revenge $*
+./configure && make && ./src/revenge $* 2>&1 | tee revenge.log
x=$?
echo
-
+echo "Please send your report via email with the following details, making sure to"
+echo "attach the relivant files; in the case of a successful dump, a tarball will be"
+echo "generated. However, if there is a failure, \"revenge.log\" will be generated."
+echo
+echo "Both successful and failed dumps are useful! Please ensure to send them."
+echo
+echo "================================================================================"
+echo
+echo "To: Oliver McFadden <omcfadde@gmail.com>"
if [ "$x" -eq 0 ]; then
- echo "Please send $(ls revenge-*.tar.bz2) to foo@bar.baz."
+ echo "Subject: [REVENGE] $(ls revenge-*.tar.bz2)"
else
- echo "Revenge failed to successfully generate a dump!"
- echo "Please report the error message(s) to z3ro in #dri-devel on irc.freenode.net."
+ echo "Subject: [REVENGE] revenge.log"
fi
-
echo
-
+echo "You may include further details about your hardware or software configuration"
+echo "in the body of this email."
+echo
+echo "================================================================================"
+echo
echo "Thank You for helping with Free Software driver development!"