Revision: 3875
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3875&view=rev
Author:   hofman
Date:     2008-05-14 02:54:47 -0700 (Wed, 14 May 2008)

Log Message:
-----------
Small changes to displayline script

Modified Paths:
--------------
    trunk/displayline

Modified: trunk/displayline
===================================================================
--- trunk/displayline   2008-05-13 16:49:18 UTC (rev 3874)
+++ trunk/displayline   2008-05-14 09:54:47 UTC (rev 3875)
@@ -5,8 +5,9 @@
 # Usage: displayline LINE PDFFILE [TEXSOURCEFILE]
 
 # get arguments
+command=`basename "$0"`
 line=$1
-if [ "${0%forward-search.sh}" != "$0" ]; then
+if [ "$command" == "forward-search.sh" ]; then
 # if called as forward-search.sh, the order of arguments is different
 source="$2"
 file="$3"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to