Skip to content

Instantly share code, notes, and snippets.

@mattmahn
Created July 8, 2017 07:18
Show Gist options
  • Save mattmahn/3344a1a64beb5c326f9816fb37ba57cf to your computer and use it in GitHub Desktop.
Save mattmahn/3344a1a64beb5c326f9816fb37ba57cf to your computer and use it in GitHub Desktop.

Revisions

  1. mattmahn created this gist Jul 8, 2017.
    10 changes: 10 additions & 0 deletions ubcd2iso.sh.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    72,73c72,73
    < if [ -d `cd "/${ISO_FILENAME%/*}" /dev/null 2>&1; echo "${PWD}"` ]; then
    < ISO_FILENAME=`cd "/${ISO_FILENAME%/*}" /dev/null 2>&1; echo "${PWD}/${ISO_FILENAME##*/}"`
    ---
    > if [ -d `cd "/${ISO_FILENAME%/*}" >/dev/null 2>&1; echo "${PWD}"` ]; then
    > ISO_FILENAME=`cd "/${ISO_FILENAME%/*}" >/dev/null 2>&1; echo "${PWD}/${ISO_FILENAME##*/}"`
    113c113
    < "$MKISOFS" -iso-level 4 -l -r -J -joliet-long -D -V "${VOLUME_ID}" \
    ---
    > "$MKISOFS" -iso-level 3 -l -r -J -joliet-long -D -V "${VOLUME_ID}" \