diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 09:01:25 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 09:01:25 (GMT) |
commit | 6b22c805e7fc22be53088897e2a1e17acf77753a (patch) | |
tree | a095931258a615c8fabcdab32da332e2e2771de0 /scripts/bug-report | |
parent | c01ef66b7db0c983a296660b9b0f631d4921b6a6 (diff) |
Move bug-report inside commands
Diffstat (limited to 'scripts/bug-report')
-rwxr-xr-x | scripts/bug-report | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/bug-report b/scripts/bug-report deleted file mode 100755 index 05f02ec..0000000 --- a/scripts/bug-report +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -scriptsdir=`dirname "$0"` -rootdir=`dirname "$scriptsdir"` -buildlogsdir=$rootdir/logs -sugarlogsdir=~/.sugar/default/logs -tarfile=$buildlogsdir/all-logs.tar.bz2 - -tarcommand="tar cfj $tarfile" - -if [ -d $buildlogsdir ]; then - buildlogs=`cd $buildlogsdir; find *.log` - tarcommand="$tarcommand -C $buildlogsdir $buildlogs" -fi - -if [ -d $sugarlogsdir ]; then - sugarlogs=`cd $sugarlogsdir; find *.log` - tarcommand="$tarcommand -C $sugarlogsdir $sugarlogs" -fi - -$tarcommand - -echo -echo "Send an email to Daniel Narvaez <dwnarvaez@gmail.com>." -echo "Attach the $tarfile file." -echo |