Updates to the Linux Shell Scripts that Run the SQL Scripts

These changes fixes bugs in the Linux Shell Scripts that are used to create the geoportal tables in various databaeses.