This content has been marked as final. Show 3 replies
We have followed the method explained above to execute shell scripts through CMP. We are able to execute the shell script when we deploy the script file for the first time.
However, we are unable to execute the same script when we deploy it again unless the file is modified. Please let us know if we are missing something.
Oracle patching utility (adpatch) is optimized not to execute/copy the file unless the version in the $Header is higher in the patch as compared to the instance. Please bump up the $Header version within the script and update the package to pull in the changed file. When you deploy the package again, the file should get invoked.