Skip to content

start_ocean.sh: doesn't execute when there are mutiple spaces in the directory path #414

@stefantul

Description

@stefantul

Describe the bug
The start_ocean.sh script fails to execute when the full path leading to it has multiple spaces.
The error message is: unknown docker command: "compose Protocol/barge/compose-files/network_volumes.yml"

To Reproduce
Steps to reproduce the behavior:
For a given directory structure such as: /home/stefan/Coding/testing web3/Ocean Protocol

1. git clone https://github.com/oceanprotocol/barge.git
2. cd barge
3. ./start_ocean.sh

Expected behavior
The command ./start_ocean.sh should work.

Specs
Operating system Linux Mint 22

Additional context
Seems that the issue is coming from line 26 of the bash script DIR="${DIR/ /\\ }"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions