#584 Running build script fails on Ubuntu 20.04
Closed by pbokoc. Opened by jackiebinya.

I cloned the project in my local environment. When I attempted to build and preview the site using the command below in my terminal:

./build.sh && ./preview.sh

I would get the error shown below:

./build.sh: 6: [: Linux: unexpected operator
./build.sh: 15: [: Linux: unexpected operator
./preview.sh: 3: [: Linux: unexpected operator
./preview.sh: 10: [: Linux: unexpected operator

I resolved it by appending bash before each script. I used

bash ./build.sh && bash ./preview.sh

I think it would be useful to add that option in the Projects' overview for future contributors using Ubuntu

Looks like we can close this one.

Metadata Update from @pbokoc:
- Issue status updated to: Closed (was: Open)

Metadata