[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761959: debian-installer: iso-scan fails if root directory contains directories with spaces



Package: debian-installer
Version: 20140802
Severity: normal
Tags: d-i

The iso-scan step contains a loop that goes through all directories in a
partition.  Line 165 contains this command:

  find $dir $opt -name "*.iso" -o -name "*.ISO"

Bacause the $dir argument is not quoted, a directory name with spaces in
it gets passed as multiple arguments.  Most likely the individual words do
not exist as files or directories, so the find command returns with an
error and causes the entire script to terminate.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14.2-core2 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


Reply to: