add code to grab the version of xorriso

This commit is contained in:
Steve McIntyre 2013-01-15 01:14:22 +00:00
parent 75053f33dc
commit 5cb7afe1f2
1 changed files with 6 additions and 1 deletions

View File

@ -37,7 +37,12 @@ fi
case "$MKISOFS" in
*xorriso*)
# OK
XORRISO_VER=$($MKISOFS --version 2>&1 | awk '
NR==1 {
split($3, ver, ".")
print ver[1]*10000+ver[2]*100+ver[3]
}')
# OK
;;
*)
echo "ERROR: debian-cd now depends on xorriso for making x86 bootable CDs."