[Debburn-changes] r624 - cdrkit/trunk/misc
Peter Samuelson
peters-guest at alioth.debian.org
Sat Dec 16 23:23:59 CET 2006
Author: peters-guest
Date: 2006-12-16 23:23:59 +0100 (Sat, 16 Dec 2006)
New Revision: 624
Modified:
cdrkit/trunk/misc/burnstuff
Log:
misc/burnstuff: use genisoimage rather than mkisofs.
Also case instead of if, and a single echo instead of a full set -x.
Modified: cdrkit/trunk/misc/burnstuff
===================================================================
--- cdrkit/trunk/misc/burnstuff 2006-12-16 09:50:07 UTC (rev 623)
+++ cdrkit/trunk/misc/burnstuff 2006-12-16 22:23:59 UTC (rev 624)
@@ -5,18 +5,21 @@
# ISO name is generated from the basename of the list/directory
set -e
-set -x
-if echo "$1" | grep -q .list$ ; then
+case "$1" in
+ *.list)
name=${1%.list}
set -- -D -graft-points -path-list "$1"
-else
+ ;;
+ *)
name="$1"
-fi
+ ;;
+esac
MOPTS=${MOPTS:-" -joliet-long -r -q -f -V $name "}
COPTS=${COPTS:-" fs=64m gracetime=5 -v -sao speed=16 -eject -multi -v -force - "}
-SIZE=$(mkisofs $MOPTS -print-size "$@")s
+SIZE=$(genisoimage $MOPTS -print-size "$@")s
-mkisofs $MOPTS "$@" | wodim tsize=$SIZE $COPTS
+echo "genisoimage $MOPTS $@ | wodim tsize=$SIZE $COPTS"
+genisoimage $MOPTS "$@" | wodim tsize=$SIZE $COPTS
More information about the Debburn-changes
mailing list