Problem Note 67376: You encounter "syntax error at line 7: `SCRIPT_PATH="$(cd "$' unexpected" when you try to upgrade to PostgreSQL 12 on Solaris for x64 (SAX) platforms
When you try to upgrade the SAS® Web Infrastructure Platform Data Server (PostgreSQL) to version 12 on the Solaris for x64 (SAX) platform, an error is thrown from the run.sh upgrade script. You encounter this issue when you submit code similar to the following:
./run.sh --metaserver --metaport --metauser sasadm@saspw --metapass XXXXXX
This code returns the following error:
syntax error at line 7: `SCRIPT_PATH="$(cd "$' unexpected
To work around this issue, edit the first line of the script:
#!/bin/sh
Change it to the following:
#!/bin/ksh
Then, run the script again.
Operating System and Release Information
SAS System | SAS Web Infrastructure Platform Data Server | Solaris for x64 | 9.4_M6 | 9.4_M8 | 9.4 TS1M6 | 9.4 TS1M8 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2021-02-10 09:07:14 |
Date Created: | 2021-02-05 08:28:28 |