Fix to largotorepo.sh for bash 4.1