Skip to content

Commit

Permalink
Fix the replace error in batch file
Browse files Browse the repository at this point in the history
  • Loading branch information
darangkim committed Dec 12, 2016
1 parent 9242dc7 commit 67abed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/batch/replace.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ objFile.Close


strFileName = "package.json"
strOldText = Chr(34)+"cordova-platforms"+Chr(34)+" : {"
strNewText = Chr(34)+"cordova-platforms"+Chr(34)+" : {"+Chr(13)+Chr(9)+Chr(9)+Chr(34)+"cordova-sectv-orsay"+Chr(34)+Chr(9)+Chr(9)+": "+Chr(34)+"../cordova-sectv-orsay"+Chr(34)+","+Chr(13)+Chr(9)+Chr(9)+Chr(34)+"cordova-sectv-tizen"+Chr(34)+Chr(9)+Chr(9)+": "+Chr(34)+"../cordova-sectv-tizen"+Chr(34)+","+Chr(13)+Chr(9)+Chr(9)+Chr(34)+"cordova-tv-webos"+Chr(34)+Chr(9)+Chr(9)+Chr(9)+": "+Chr(34)+"../cordova-tv-webos"+Chr(34)+","
strOldText = Chr(34)+"cordova-platforms"+Chr(34)+": {"
strNewText = Chr(34)+"cordova-platforms"+Chr(34)+": {"+Chr(13)+Chr(9)+Chr(9)+Chr(34)+"cordova-sectv-orsay"+Chr(34)+Chr(9)+Chr(9)+": "+Chr(34)+"../cordova-sectv-orsay"+Chr(34)+","+Chr(13)+Chr(9)+Chr(9)+Chr(34)+"cordova-sectv-tizen"+Chr(34)+Chr(9)+Chr(9)+": "+Chr(34)+"../cordova-sectv-tizen"+Chr(34)+","+Chr(13)+Chr(9)+Chr(9)+Chr(34)+"cordova-tv-webos"+Chr(34)+Chr(9)+Chr(9)+Chr(9)+": "+Chr(34)+"../cordova-tv-webos"+Chr(34)+","

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(strFileName, ForReading)
Expand Down

0 comments on commit 67abed0

Please sign in to comment.