rlm@6: #!/bin/sh rlm@6: rlm@6: TARGET="/home/r/tmp/image.iso" rlm@6: rlm@7: #START=`cdrecord -msinfo` rlm@6: rlm@7: #echo "$START" rlm@6: rlm@6: GRAFT_POINTS='' rlm@6: rlm@6: for var in "$@" rlm@6: do rlm@6: GRAFT_POINTS="$GRAFT_POINTS \"`basename "$var"`\"=\"$var\"" rlm@6: done rlm@6: rlm@6: rlm@6: #echo $GRAFT_POINTS rlm@6: rlm@7: #if [ "$START" == "0,0" ]; then rlm@6: COMMAND="mkisofs -iso-level 4 -rJT -o $TARGET -graft-points $GRAFT_POINTS" rlm@7: # echo $COMMAND rlm@7: # eval $COMMAND rlm@7: #else rlm@7: # COMMAND="mkisofs -iso-level 4 -rJT -M /dev/cdrom \ rlm@7: # -C $START -o $TARGET -graft-points $GRAFT_POINTS" rlm@6: echo $COMMAND rlm@6: eval $COMMAND rlm@7: #fi rlm@6: rlm@6: rlm@6: echo "files copied to $TARGET. use 'burn-tmp-iso-image' to burn it." rlm@6: rlm@6: #cd-burn