Quantcast
Channel: WebSphere Blog by Steve Robinson » Error
Viewing all articles
Browse latest Browse all 10

AIX: Shell Script Error: This is not an identifier

$
0
0

./install.sh[14]: =/opt/IBM/WebSphere/AppServer/logs/manageprofiles/myProfile_create.log: This is not an identifier.

This error is because in my korn shell script, I did not delimit the string and so the script thought I was calling a command. I also had a space in the assignment.

Bad code

export PROFILE_LOG =${WAS_BINARY_DIR}/logs/manageprofiles/${PROFILE_NAME}_create.log

Good code

export PROFILE_LOG=”${WAS_BINARY_DIR}/logs/manageprofiles/${PROFILE_NAME}_create.log”


Viewing all articles
Browse latest Browse all 10

Trending Articles