mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
windows fix for initial build. Not quite sure why this was never noticed before.
This commit is contained in:
parent
ff7def219f
commit
a6b2a420d0
@ -131,7 +131,9 @@ Sub UnCompress(Archive, DestFolder)
|
|||||||
Do
|
Do
|
||||||
WScript.Echo OExec.StdOut.ReadLine()
|
WScript.Echo OExec.StdOut.ReadLine()
|
||||||
Loop While Not OExec.StdOut.atEndOfStream
|
Loop While Not OExec.StdOut.atEndOfStream
|
||||||
If FSO.FileExists(Left(Archive, Len(Archive)-3))Then
|
If FSO.FileExists(Left(Archive, Len(Archive)-3))Then
|
||||||
|
WScript.Sleep(100)
|
||||||
|
FSO.DeleteFile UtilsDir & batname, True
|
||||||
Set MyFile = fso.CreateTextFile(UtilsDir & batname, True)
|
Set MyFile = fso.CreateTextFile(UtilsDir & batname, True)
|
||||||
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Left(Archive, Len(Archive)-3) & quote & " -y -o" & quote & DestFolder & quote )
|
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Left(Archive, Len(Archive)-3) & quote & " -y -o" & quote & DestFolder & quote )
|
||||||
MyFile.Close
|
MyFile.Close
|
||||||
@ -142,7 +144,9 @@ Sub UnCompress(Archive, DestFolder)
|
|||||||
WScript.Sleep(500)
|
WScript.Sleep(500)
|
||||||
FSO.DeleteFile Left(Archive, Len(Archive)-3) ,true
|
FSO.DeleteFile Left(Archive, Len(Archive)-3) ,true
|
||||||
End If
|
End If
|
||||||
If FSO.FileExists(Left(Archive, Len(Archive)-3) & "tar")Then
|
If FSO.FileExists(Left(Archive, Len(Archive)-3) & "tar")Then
|
||||||
|
WScript.Sleep(100)
|
||||||
|
FSO.DeleteFile UtilsDir & batname, True
|
||||||
Set MyFile = fso.CreateTextFile(UtilsDir & batname, True)
|
Set MyFile = fso.CreateTextFile(UtilsDir & batname, True)
|
||||||
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Left(Archive, Len(Archive)-3) & "tar" & quote & " -y -o" & quote & DestFolder & quote )
|
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Left(Archive, Len(Archive)-3) & "tar" & quote & " -y -o" & quote & DestFolder & quote )
|
||||||
MyFile.Close
|
MyFile.Close
|
||||||
|
Loading…
x
Reference in New Issue
Block a user