Created
October 6, 2016 05:31
-
-
Save RCL/89fea0107386da6599a76fb9198d07ae to your computer and use it in GitHub Desktop.
Fix FixDeps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PostLinkAction.CommandArguments += ShellBinary + ExecuteSwitch + " \"" + FixDepsScript.AbsolutePath + "\" && "; | |
- string Touch = bUseCmdExe ? "echo \"\" >> \"{0}\" && copy /b \"{0}\" +,," : "touch \"{0}\""; | |
+ // output file should not be empty or it will be rebuilt next time | |
+ string Touch = bUseCmdExe ? "echo \"Dummy\" >> \"{0}\" && copy /b \"{0}\" +,," : "echo \"Dummy\" >> \"{0}\""; | |
PostLinkAction.CommandArguments += String.Format(Touch, OutputFile.AbsolutePath); | |
PostLinkAction.CommandArguments += bUseCmdExe ? "\"" : "'"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment