Posted by hmontoliu Wed 28th Feb 2007 15:01 - Syntax is Bash - 99 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
-
#! /bin/bash -x
-
. ~/bugsquad_dir/dev/bug_launchpad_tools_lib.sh
-
-
if [ $# -ne 1 ]; then
-
echo "Usage: $0 bugnumber"
-
exit 1
-
fi
-
-
BUGNUMBER=$1
-
CRASH_REPORT_URL=($(bug_report_extract_crash_url $BUGNUMBER))
-
WORK_D="/home/bugsquad/retrace_tmp/e_${BUGNUMBER}"
-
[ -d "${WORK_D}" ] || mkdir -p "${WORK_D}"
-
cd "${WORK_D}"
-
wget -c "$CRASH_REPORT_URL" ; apport-retrace -o retraced.crash -d -c -C /tmp/foo _usr_lib_firefox_firefox-bin.1000.crash 2>&1 | tee retrace.log ; apport-unpack retraced.crash unpack
-
PermaLink to this entry https://pastebin.co.uk/11165
Posted by hmontoliu Wed 28th Feb 2007 15:01 - Syntax is Bash - 99 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0