Lines Matching full:bugreport
27 echo "Usage: $0 bugreport(.txt|.zip)"
31 BUGREPORT="$1"
32 FILENAME="$(basename ${BUGREPORT})"
41 if [ ! -f "${BUGREPORT}" ];
43 echo "File ${BUGREPORT} does not exist."
53 if [ "${BUGREPORT: -4}" == ".zip" ];
55 unzip "${BUGREPORT}" -d "${TMPDIR}"
56 BUGREPORT="${TMPDIR}/${FILENAME%.*}.txt"
59 if [ -f "${BUGREPORT}" ];
61 ${BTSNOOZ} "${BUGREPORT}" > "${LOGFILE}"
64 echo "Could not extract btsnooz data from ${BUGREPORT}."
71 echo "Looks like there is no plain text bugreport (${BUGREPORT})?"