Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal option on make install #34

Open
Andreabont opened this issue May 16, 2022 · 2 comments
Open

Illegal option on make install #34

Andreabont opened this issue May 16, 2022 · 2 comments

Comments

@Andreabont
Copy link

Andreabont commented May 16, 2022

This error shows up in the installation script when you run make install, i'm running the script using Kubuntu 20.04

$ make install
echo 'Running installation'
Running installation
cp .env.example .env
sh seosnap-dashboard/dev/commands/install.sh
Generating new secret key
Setting new admin user login
Username [snaptron]: 
Email [snaptron@snap.tron]: 
seosnap-dashboard/dev/commands/install.sh: 10: read: Illegal option -s
@mandrikv
Copy link

Same problem (WSL2, Ubuntu 20.04)

@iget-master
Copy link

iget-master commented Jul 27, 2023

If someone need:

Edit install.sh shebang from

#!/bin/sh

to

#!/bin/bash

Should work.
Also notice that if the file .env was creating during failed execution, the script fail silently, so delete your .env first.

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

No branches or pull requests

3 participants