[file-roller] bad file names (truncated) in iso images
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] bad file names (truncated) in iso images
- Date: Mon, 13 Sep 2010 08:54:26 +0000 (UTC)
commit 3b92ee67f27a23a2c7b274eb5f89cbaf143bb7e7
Author: Munsch <pmunsch orika fr>
Date: Mon Sep 13 10:52:31 2010 +0200
bad file names (truncated) in iso images
in iso files
some last char of long file names are truncated.
because of undocumented priority of "Joliet" over "Rock Ridge" in isoinfo
[bug #550946]
src/sh/isoinfo.sh | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/src/sh/isoinfo.sh b/src/sh/isoinfo.sh
index 08eee9e..8bcdf35 100644
--- a/src/sh/isoinfo.sh
+++ b/src/sh/isoinfo.sh
@@ -5,24 +5,23 @@ ROCK_RIDGE=true
ISOINFO=`isoinfo -d -i "$filename"`
if echo $ISOINFO | grep "NO Joliet present" >/dev/null 2>&1; then
- JOLIET=false
+ JOLIET=false
fi
if echo $ISOINFO | grep "NO Rock Ridge present" >/dev/null 2>&1; then
- ROCK_RIDGE=false
+ ROCK_RIDGE=false
fi
iso_extensions=""
-if test $JOLIET = true; then
- iso_extensions="$iso_extensions -J"
-fi
if test $ROCK_RIDGE = true; then
- iso_extensions="$iso_extensions -R"
+ iso_extensions="-R"
+elif test $JOLIET = true; then
+ iso_extensions="-J"
fi
if test "x$3" = x-x; then
- file_to_extract=$4
- outfile=$5
- isoinfo $iso_extensions -i "$filename" -x "$file_to_extract" > "$outfile"
+ file_to_extract=$4
+ outfile=$5
+ isoinfo $iso_extensions -i "$filename" -x "$file_to_extract" > "$outfile"
else
- isoinfo $iso_extensions -i "$filename" -l
+ isoinfo $iso_extensions -i "$filename" -l
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]