Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

docker setup does not seem to run with macosx #52

Open
mcjaeger opened this issue Oct 29, 2018 · 1 comment
Open

docker setup does not seem to run with macosx #52

mcjaeger opened this issue Oct 29, 2018 · 1 comment

Comments

@mcjaeger
Copy link
Contributor

mcjaeger commented Oct 29, 2018

it seems like on macosx (10.13.6), docker setup is not running:

lando:sw360chores-master sam$ docker -v
Docker version 18.06.1-ce, build e68fc7a
lando:sw360chores-master sam$ ./sw360chores.pl --build -- up
... the file liferay-portal-tomcat-6.2-ce-ga5-20151119152357409.zip already exists: skip
rm: /Users/sam/Downloads/sw360chores-master/_tmp/tmp.Dw9kEAC/sw360/webapps/docs: No such file or directory
rm: /Users/sam/Downloads/sw360chores-master/_tmp/tmp.Dw9kEAC/sw360/webapps/examples: No such file or directory
rm: /Users/sam/Downloads/sw360chores-master/_tmp/tmp.Dw9kEAC/sw360/webapps/host-manager: No such file or directory
rm: /Users/sam/Downloads/sw360chores-master/_tmp/tmp.Dw9kEAC/sw360/webapps/manager: No such file or directory
sed: 1: "/Users/sam/Downloads/sw ...": bad flag in substitute command: 's'
failed to prepare sw360empty at ./sw360chores.pl line 311.
lando:sw360chores-master sam$ 

which maybe a platform issue because of different paths in the prepare scripts.

@greimela-si
Copy link
Contributor

The issue is that the MacOS sed is not the same as the GNU sed.
I worked around this issue by installing gnu-sed using homebrew.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants