[72534] users/ryandesign/PCLauncher/PCLauncher.applescript

ryandesign at macports.org ryandesign at macports.org
Tue Oct 19 13:48:04 PDT 2010


Revision: 72534
          http://trac.macports.org/changeset/72534
Author:   ryandesign at macports.org
Date:     2010-10-19 13:48:00 -0700 (Tue, 19 Oct 2010)
Log Message:
-----------
Authentication now needs the data directory too

Modified Paths:
--------------
    users/ryandesign/PCLauncher/PCLauncher.applescript

Modified: users/ryandesign/PCLauncher/PCLauncher.applescript
===================================================================
--- users/ryandesign/PCLauncher/PCLauncher.applescript	2010-10-19 20:33:18 UTC (rev 72533)
+++ users/ryandesign/PCLauncher/PCLauncher.applescript	2010-10-19 20:48:00 UTC (rev 72534)
@@ -143,7 +143,7 @@
 	end if
 	makeLink(gLogFile, gLogLink)
 	set gStatusFile to makeTempFile()
-	set gPid to (do shell script "(" & quoted form of gPlasmaClientForAuth & " " & quoted form of theUsername & " " & quoted form of thePassword & " -t >& " & quoted form of gLogFile & "; echo $?) >& " & quoted form of gStatusFile & " & echo $!")
+	set gPid to (do shell script "(cd " & quoted form of gDataDirectory & " && " & quoted form of gPlasmaClientForAuth & " " & quoted form of theUsername & " " & quoted form of thePassword & " -t >& " & quoted form of gLogFile & "; echo $?) >& " & quoted form of gStatusFile & " & echo $!")
 	set gTask to kTaskWaitForAuthentication
 end startAuthentication
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101019/c6218234/attachment.html>


More information about the macports-changes mailing list