Skip to content

Bug: setup.sh fails if Resolve's installer path contains space #253

@ThunderArtist

Description

@ThunderArtist

This issue is NOT about missing codecs

  • I understand

Describe the bug

If the path to your Resolve installer has spaces in its folder names, the installer will stop at the first space encountered.
I suppose the fix would be to add quotes to the path variable and wherever it's used.

I tested putting the Resolve installer in a path that doesn't have spaces leading up to it and the script worked.

Examples:
Fail - /mnt/path to my resolve/DaVinci_Resolve_20.3.1_Linux.run
Success - /mnt/pathtomyresolve/DaVinci_Resolve_20.3.1_Linux.run

Tested on Bazzite and on Linux Mint and the behavior is the same.

Steps to reproduce

No response

Installation method used

setup.sh

OS Version

Bazzite, Linux Mint 22.3

Desktop Environment

KDE Plasma, Cinnamon

GPU Vendor

AMD

GPU Model

No response

CPU

5800XT

CPU w/ integrated GPU?

No iGPU

DaVinci Resolve Free or DaVinci Resolve Studio

Free

DaVinci Resolve version

20.3.1

Davincibox build (NOT the GitHub release number)

ghcr.io/zelikos/davincibox-opencl latest de3f784ce83d 2 days ago 2.68 GB

Extra context

Complete!
davincibox initialized
 is not a valid filename.
Re-run this script with a valid DaVinci Resolve installer.
e.g. ./setup.sh DaVinci_Resolve_18.5.1_Linux.run

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions