Error: "./ syntax error at line 7: `VARNAME=$' unexpected" Running The Script To Apply A P6 EPPM Patch (Doc ID 2062238.1)

Last updated on OCTOBER 01, 2015

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version and later
Information in this document applies to any platform.


When attempting to apply patch by executing the ./ shell script the following error occurs.

./ syntax error at line 7: `VARNAME=$' unexpected

The issue can be reproduced at will with the following steps:

  1. Run dos2unix command on
  2. Execute
  3. Note the error which returns.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms