Error: "./copyfiles-eppm.sh: syntax error at line 7: `VARNAME=$' unexpected" Running The Copyfiles-eppm.sh 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 15.1.6.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to apply patch by executing the ./copyfiles-eppm.sh shell script the following error occurs.

ERROR
-----------------------
./copyfiles-eppm.sh: syntax error at line 7: `VARNAME=$' unexpected


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

  1. Run dos2unix command on env.properties
  2. Execute copyfiles-eppm.sh
  3. Note the error which returns.

Cause

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