Able to make it works on windows machine as well for PATCH_SUPEE-5344_CE_126.96.36.199_v1-2015-02-10-08-10-38.sh.
Problem was: CURRENT_DIR=
$PWD_BIN/ (line 60) and the value of $PWD_BIN is defined in same file PWD_BIN=
which pwd (line 35) as which doesn't wok on windows so we will need to replace this value.
Your current directory should be the root of magento.
Run command 'pwd'
It will give the out path of your current directory: Check screenshot
Copy this path and edit file, on line 67 replace:
$PWD_BIN/ to CURRENT_DIR=
Run patch with same commnd
Note: Make sure you replace '/d/xampp/htdocs/magento/' with your directory root.
and it will work like a charm!!
- June 16, 2015 @ 18:21:00 [Current Revision] by admin
- June 16, 2015 @ 18:21:00 by admin