print the xtract command

This commit is contained in:
George Danchev 2011-07-03 10:11:23 +00:00
parent 466091f763
commit 0dd950ec19

View File

@ -119,7 +119,7 @@ if [ ! -f "${TMP_DATA_DIR}"/"${REMOTE_IMG}" ]; then
;; ;;
esac esac
else else
printf "\n${SELF}: Found image: ${TMP_DATA_DIR}/${REMOTE_IMG}\n" printf "\n${SELF}: Found ISO image: ${TMP_DATA_DIR}/${REMOTE_IMG}\n"
fi fi
# check for extraction directory existence # check for extraction directory existence
@ -131,10 +131,13 @@ else
fi fi
# extract image content # extract image content
set +e CMD_EXTRACT="${RELENG_XORRISO} -indev ${TMP_DATA_DIR}/${REMOTE_IMG} \
"${RELENG_XORRISO}" -indev "${TMP_DATA_DIR}"/"${REMOTE_IMG}" \
-osirrox on:auto_chmod_on \ -osirrox on:auto_chmod_on \
-extract / "${IMG_EXTRACT_DIR}" -extract / ${IMG_EXTRACT_DIR} \
"
echo -e "${SELF}: Extracting ISO image:\n${CMD_EXTRACT}\n"
set +e
${CMD_EXTRACT}
set -e set -e
# grab an MBR # grab an MBR