tools/livecd-iso-to-disk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a41a718e2264ac3498b6ed78d9a22888875b3813 Author: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> Date: Fri Apr 18 10:59:22 2008 -0400 Make the iso checking a bit more specific Ensure that the ISO given is an actual file and not, eg, a directory diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 0b70eff..cc94397 100644 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -168,10 +168,10 @@ while [ $# -gt 2 ]; do shift done -ISO=$1 +ISO=$(readlink -f "$1") USBDEV=$2 -if [ -z "$ISO" -o ! -e "$ISO" ]; then +if [ -z "$ISO" -o ! -f "$ISO" ]; then usage fi -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list