Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

WorkingDirectory not set correctly to USER_HOME #11

@mbtaylor

Description

@mbtaylor

If I have the following in the Info.plist:

<key>WorkingDirectory</key>
<string>$USER_HOME</string>

I (well, one of my users) see this error message in the startup log:

/Applications/VO-tools/topcat-4.2-2/TOPCAT.app/Contents/MacOS/TopcatUJAStub: line 258: cd: ~: No such file or directory

I think the problem is the quotes round the tilde character in the WorkingDirectory assignment here:

       elif [ "${JVMWorkDir}" == "\$USER_HOME" ]; then
            WorkingDirectory="~"

but it's hard for me to test it because I don't have a Mac myself. Is this feature believed working as it stands? Can somebody try it out and, if it's a bug, fix it? Thanks!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions