Error on makecsv.sh line

Not sure why the script will not function, looking for solution