YottaDB / YDB

Mirrored from https://gitlab.com/YottaDB/DB/YDB
Other
76 stars 37 forks source link

[#197] Fix syntax error in ydb_env_set.gtc (fi in same line as if needs a preceding semicolon) #240

Closed nars1 closed 6 years ago

nars1 commented 6 years ago

Before this fix, the following error used to show up if one sourced ydb_env_set

$ . ydb_env_set
sh: 82: ydb_env_set: Syntax error: end of file unexpected (expecting "fi")
ChristopherEdwards commented 6 years ago

interesting this doesn't show on my linux mint machine. maybe zsh (my preferred shell) doesn't report these errors, as I've ran this many times over the past few days.

nars1 commented 6 years ago

I tried "sh" and "bash" and both had this issue.

ChristopherEdwards commented 6 years ago

Just something I have to be mindful of.