Problem with Bash script: 'declare: not found' - Ask Ubuntu
i had script running fine when ran today, says declare: not found. using bash shell , path @ starting of script correct.
two flagged lines in script follows:
declare -a response response=($result) it says ( unexpected guess coming because of first error. worth mentioning point when type in declare directly works fine.
declare | grep user shows
user=ashfame username=ashfame values="$svn_bash_username"; so, whats wrong here?
are using sh instead of bash? sh (linked dash) not support declare keyword, nor syntax
var=(list) for initializing arrays.
Comments
Post a Comment