Author: scooter
Date: 2012-07-15 15:20:17 -0700 (Sun, 15 Jul 2012)
New Revision: 29905
Modified:
core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh
Log:
Test the full path for readlink, not just the directory
Modified: core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh
===================================================================
--- core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh
2012-07-14 10:51:29 UTC (rev 29904)
+++ core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh
2012-07-15 22:20:17 UTC (rev 29905)
@@ -7,7 +7,7 @@
DEBUG_PORT=12345
script_path="$(dirname -- $0)"
-if [ -h $script_path ]; then
+if [ -h $0 ]; then
link="$(readlink $0)"
script_path="$(dirname -- $link)"
fi
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.