[72194] users/ryandesign/PCLauncher/PCLauncher.applescript
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 6 05:46:23 PDT 2010
Revision: 72194
http://trac.macports.org/changeset/72194
Author: ryandesign at macports.org
Date: 2010-10-06 05:46:21 -0700 (Wed, 06 Oct 2010)
Log Message:
-----------
Use quoted form when launching tools, in case there are spaces in the path
Modified Paths:
--------------
users/ryandesign/PCLauncher/PCLauncher.applescript
Modified: users/ryandesign/PCLauncher/PCLauncher.applescript
===================================================================
--- users/ryandesign/PCLauncher/PCLauncher.applescript 2010-10-06 12:44:02 UTC (rev 72193)
+++ users/ryandesign/PCLauncher/PCLauncher.applescript 2010-10-06 12:46:21 UTC (rev 72194)
@@ -95,7 +95,7 @@
end tell
set gStatusFile to makeTempFile()
- set gPid to (do shell script "(" & gPlasmaClientForAuth & " " & quoted form of theUsername & " " & quoted form of thePassword & " -t >& /dev/null; echo $?) >& " & quoted form of gStatusFile & " & echo $!")
+ set gPid to (do shell script "(" & quoted form of gPlasmaClientForAuth & " " & quoted form of theUsername & " " & quoted form of thePassword & " -t >& /dev/null; echo $?) >& " & quoted form of gStatusFile & " & echo $!")
set gTask to kTaskWaitForAuthentication
end startAuthentication
@@ -135,7 +135,7 @@
set gStatusFile to makeTempFile()
set gSecureFilesDirectory to makeTempDirectory()
- set gPid to (do shell script gDrizzleForDownload & " -downloadsecuremoulagainfiles " & quoted form of theUsername & " " & quoted form of thePassword & " " & quoted form of gSecureFilesDirectory & " >& " & quoted form of gStatusFile & " & echo $!")
+ set gPid to (do shell script quoted form of gDrizzleForDownload & " -downloadsecuremoulagainfiles " & quoted form of theUsername & " " & quoted form of thePassword & " " & quoted form of gSecureFilesDirectory & " >& " & quoted form of gStatusFile & " & echo $!")
set gTask to kTaskWaitForSecureFilesToDownload
end startDownloadingSecureFiles
@@ -168,7 +168,7 @@
showProgressPanel("Extracting secure game files…")
set gStatusFile to makeTempFile()
- set gPid to (do shell script gDrizzleForExtract & " -decompilepak " & quoted form of (gSecureFilesDirectory & "/Python/python.pak") & " " & quoted form of (gSecureFilesDirectory & "/Python/python") & " moul >& " & quoted form of gStatusFile & " & echo $!")
+ set gPid to (do shell script quoted form of gDrizzleForExtract & " -decompilepak " & quoted form of (gSecureFilesDirectory & "/Python/python.pak") & " " & quoted form of (gSecureFilesDirectory & "/Python/python") & " moul >& " & quoted form of gStatusFile & " & echo $!")
set gTask to kTaskWaitForSecureFilesToExtract
end startExtractingSecureFiles
@@ -213,7 +213,7 @@
set thePassword to contents of text field "Password Field"
end tell
- set gPid to (do shell script "(cd " & quoted form of gDataDirectory & " && " & gPlasmaClientForGame & " " & quoted form of theUsername & " " & quoted form of thePassword & ") &>/dev/null & echo $!")
+ set gPid to (do shell script "(cd " & quoted form of gDataDirectory & " && " & quoted form of gPlasmaClientForGame & " " & quoted form of theUsername & " " & quoted form of thePassword & ") &>/dev/null & echo $!")
quit
end startGame
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101006/c2e24473/attachment-0001.html>
More information about the macports-changes
mailing list