trebleshot / desktop

An Open-Source file sharing software for Linux, macOS and Windows allowing you to send and receive files over available connections, and pause and resume transfer process even when an error is given
GNU General Public License v2.0
33 stars 6 forks source link

Avoid error messages in build_trebleshot.sh #18

Closed denilsonsa closed 5 years ago

denilsonsa commented 5 years ago

When I tried running ./build_trebleshot.sh on my Ubuntu 19.04, I got this message:

./build_trebleshot.sh: 3: ./build_trebleshot.sh: []: not found

I fixed that by using -n (try typing help test on your bash shell to read the documentation).

Upon running the script again, it prints:

mkdir: cannot create directory ‘cmake-build-release’: File exists

Which can be easily suppressed by passing -p to mkdir.

velitasali commented 5 years ago

Thanks, the changes seem to suppress the warnings.