Revision: 3131
http://skim-app.svn.sourceforge.net/skim-app/?rev=3131&view=rev
Author: hofman
Date: 2007-11-02 11:12:31 -0700 (Fri, 02 Nov 2007)
Log Message:
-----------
Use bash shell as echo in sh seems to be broken on Leopard.
Modified Paths:
--------------
trunk/displayline
Modified: trunk/displayline
===================================================================
--- trunk/displayline 2007-11-02 17:50:15 UTC (rev 3130)
+++ trunk/displayline 2007-11-02 18:12:31 UTC (rev 3131)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# displayline (Skim)
#
@@ -21,8 +21,7 @@
# pass arguments as NULL-separated string to osascript
# pass through cat to get them as raw bytes to preserve non-ASCII characters
-shopt -s xpg_echo
-echo "${line}\x00${file}\x00${source}\x00" | \
+echo -ne "${line}\x00${file}\x00${source}\x00" | \
/usr/bin/osascript \
-e "set theArgv to do shell script \"/bin/cat\"" \
-e "set AppleScript's text item delimiters to ASCII character 0" \
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit