Mercurial > hg > forks > UniversalIndentGUI
changeset 467:3df4cd788ce3
Corrected the move/mv commands parameter in the created shell and batch script when calling recursive.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@704 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Mon, 26 May 2008 12:19:29 +0000 |
parents | 0babe9272732 |
children | 61ae1529b238 |
files | src/indenthandler.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/indenthandler.cpp Mon May 26 12:18:16 2008 +0000 +++ b/src/indenthandler.cpp Mon May 26 12:19:29 2008 +0000 @@ -203,11 +203,13 @@ QString shellScript(templateBatchScript); shellScript = shellScript.replace("__INDENTERCALLSTRING2__", indenterCompleteCallString + "\n" + replaceInputFileCommand); indenterCompleteCallString = indenterCompleteCallString.replace("%1", "%%G"); + replaceInputFileCommand = replaceInputFileCommand.replace("%1", "%%G"); shellScript = shellScript.replace("__INDENTERCALLSTRING1__", indenterCompleteCallString + "\n" + replaceInputFileCommand); #else QString shellScript(templateBatchScript); shellScript = shellScript.replace("__INDENTERCALLSTRING2__", indenterCompleteCallString + "\n" + replaceInputFileCommand); indenterCompleteCallString = indenterCompleteCallString.replace("$1", "$file2indent"); + replaceInputFileCommand = replaceInputFileCommand.replace("$1", "$file2indent"); shellScript = shellScript.replace("__INDENTERCALLSTRING1__", indenterCompleteCallString + "\n" + replaceInputFileCommand); #endif