[ https://issues.apache.org/jira/browse/JENA-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897165#comment-16897165 ]
Andy Seaborne commented on JENA-1735: ------------------------------------- Hi there - BSD has readlink nowadays - it's OSX where you need to install (a a gnu-compatible readlink is available - but we don't want to require that being installed). What's the usual idiom for this? In my trawl (StackOveflow and elsewhere) I didn't come across a single idiom, though "$( cd ; pwd -P)" is Would you be open to using the way as the cmd scripts? Use "readlink -f" when available. It's not critical, it's just because, in the long term, common patterns are helpful. > Allow symlinking to fuseki-server script > ---------------------------------------- > > Key: JENA-1735 > URL: https://issues.apache.org/jira/browse/JENA-1735 > Project: Apache Jena > Issue Type: Improvement > Components: Fuseki > Affects Versions: Fuseki 2.5.0 > Environment: Ubuntu 18.04 (bionic) > Debian 9 (stretch) > Reporter: Colin Gross > Priority: Minor > Labels: easyfix > Original Estimate: 1h > Time Spent: 10m > Remaining Estimate: 50m > > Symlinking to executables or scripts from a PATH directory is a common > practice. This is some sysadmins perfered method as it makes updating the > fuseki version just redirecting a symlink. > This needs to run on both GNU and BSD based systems (e.g. OSX), so using > readlink is a tricky wicket. It it doesn't behave the same on both, nor are > the meaning of the flags consistent between systems. > Similar to issue JENA-1297 -- This message was sent by Atlassian JIRA (v7.6.14#76016)