Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ithod
jmol
jmol-hardlink.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jmol-hardlink.patch of Package jmol
--- /usr/bin/jmol 2013-06-27 11:32:04.000000000 +0200 +++ jmol.sh 2013-07-29 20:47:53.077847329 +0200 @@ -9,28 +9,8 @@ done # Determine installation location if [ "$JMOL_HOME" = "" ]; then - binDir=${0%/*} - if [ "$binDir" = "$0" ]; then - # Ran from local directory - binDir=$PWD - fi - # Resolve symlinks. - program="$0" - while [ -L "$program" ]; do - ls=`/bin/ls -ld "$program"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '.*/.*' > /dev/null; then - program="$link" - else - program="`/usr/bin/dirname $program`/$link" - fi - done - binDir=`dirname $program` + JMOL_HOME="@pkgdatadir@" fi - -JMOL_HOME=${JMOL_HOME:-$binDir} -libDir=${JMOL_HOME}/jars - if [ ! -e ${JMOL_HOME}/Jmol.jar ]; then echo "Jmol could not find its installed files." exit
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor