Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

=: This is not an identifier

I am trying to set an environment in a KornShell (ksh) scipt using

 export DB_URL = [email protected]

But I am getting =: This is not an identifier

Please assist.

like image 988
david Avatar asked Dec 28 '22 23:12

david


1 Answers

Don't put spaces between the variable name, equal sign and its value.

export THIS=that

Or

THIS=that; export THIS
like image 170
Mat Avatar answered Jan 05 '23 15:01

Mat