I downloaded the SUPEE-3941 patch file from https://magento.com/tech-resources/download, saved it in the Magento root folder and created a patch.php file under the root folder.
<?php print("<PRE>"); passthru("/bin/bash PATCH_SUPEE-3941_EE_18.104.22.168_v1-2015-02-10-08-32-02.sh"); print("</PRE>"); echo "Done"; ?>
after hitting the URL mysite/patch.php it shows "done". But when I open the file
app/etc/applied.patches.list, the patch SUPEE-3941 is not shown as installed.
What I am doing wrong?