Closed Cuttlerat closed 6 years ago
Mr. @Minoru, could you review that, please? I'm not an expert in these matters, but I think we had similar discussion with you some time ago.
Yup, I pretty much believe that we have settled usage of set -e
for the same purpose in our other website project.
Will that set -e
also fix the problem with non-existent directories? I'd then vote for using set -e
for consistency everywhere.
Yes, set -e
would work much better and I think it's more valuable here
Could you please update your PR with set -e
instead of exit 1
?
Well, I'll merge that. Mr. @Minoru, feel free to comment the issue after the merge!
@Cuttlerat, thanks a lot for the contribution.
It's dangerous to not check if directory is exists.