Missing required fields
Posted by hmontoliu Wed 28th Feb 2007 15:01 - Syntax is Bash - 99 views
Download | New Post | Modify | Hide line numbers
  1. #! /bin/bash -x
  2. . ~/bugsquad_dir/dev/bug_launchpad_tools_lib.sh
  3.  
  4. if [ $# -ne 1 ]; then
  5.         echo "Usage: $0 bugnumber"
  6.         exit 1
  7. fi
  8.  
  9. BUGNUMBER=$1
  10. CRASH_REPORT_URL=($(bug_report_extract_crash_url $BUGNUMBER))
  11. WORK_D="/home/bugsquad/retrace_tmp/e_${BUGNUMBER}"
  12. [ -d "${WORK_D}" ] || mkdir -p "${WORK_D}"
  13. cd "${WORK_D}"
  14. 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
  15.  

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

 

Comments: 0