You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good evening to all. Please help me, I have encountered the same error, I have cloned your project, followed your instructions but I encounter this error.
My operating system ubuntu 20.04
houngbemey@houngbemey-HP-ProBook-450-G6:~$ sudo sh /home/houngbemey/virtualhost/virtualhost.sh create smartenterprise.site
/home/houngbemey/virtualhost/virtualhost.sh: 30: [: smartenterprise.site: unexpected operator
/home/houngbemey/virtualhost/virtualhost.sh: 36: [: unexpected operator
/home/houngbemey/virtualhost/virtualhost.sh: 41: [[: not found
/home/houngbemey/virtualhost/virtualhost.sh: 47: [: create: unexpected operator
-e $This domain does not exist.
Please try another one
The text was updated successfully, but these errors were encountered:
If you running this script via bash everything work fine.
sudo /path/to/virtualhost.sh create example.local
Under Ubuntu (Debian also I guess) if you run something with sh you get dash interpreter (not bash).
In other words /bin/sh is a symlink to /bin/dash which one have own quirks as any other shell.
Good evening to all. Please help me, I have encountered the same error, I have cloned your project, followed your instructions but I encounter this error.
My operating system ubuntu 20.04
houngbemey@houngbemey-HP-ProBook-450-G6:~$ sudo sh /home/houngbemey/virtualhost/virtualhost.sh create smartenterprise.site
/home/houngbemey/virtualhost/virtualhost.sh: 30: [: smartenterprise.site: unexpected operator
/home/houngbemey/virtualhost/virtualhost.sh: 36: [: unexpected operator
/home/houngbemey/virtualhost/virtualhost.sh: 41: [[: not found
/home/houngbemey/virtualhost/virtualhost.sh: 47: [: create: unexpected operator
-e $This domain does not exist.
Please try another one
The text was updated successfully, but these errors were encountered: