Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6434814

Running the installer from a directory with spaces fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • install
    • mustang
    • x86
    • linux
    • Not verified

      A DESCRIPTION OF THE REQUEST :
      I want to install the JDK in /opt, so I go there as root run the installer from "/home/dinoklein/My Downloads"

      I get the following error:
      ----
      tail: cannot open `/home/dinoklein/My' for reading: No such file or directory
      tail: cannot open `Downloads/jdk-1_5_0_07-linux-i586.bin' for reading: No such file or directory
      ----

      which I belive is due to this line in the installer:
      tail ${tail_args}+749 $0 > $outname

      I believe double-quoting the $0 should take care of this.

      JUSTIFICATION :
      It would be nice for the installer to work from anywhere, without having to move it to a path with no spaces.

            rkajasunw Rajani Kaja (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: