# HG changeset patch # User thomas_-_s # Date 1211804369 0 # Node ID 3df4cd788ce3512f4b393d4c480fe76ff292abe3 # Parent 0babe9272732e2f2de545d30ff67dbaea79dab5c 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 diff -r 0babe9272732 -r 3df4cd788ce3 src/indenthandler.cpp --- 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