The ability to make it work on a Windows machine, as well as for PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh.
The problem was this: CURRENT_DIR = $PWD_BIN / (line 60), and the value $ PWD_BIN is defined in the same file PWD_BIN = which pwd (line 35), which does not work on windows, so we will need to replace this value.
- Open bash
- Your current directory should be the root of magento.
- Run the command 'pwd'
- It gives the path to your current directory: Check screenshot
Copy this path and edit the file, on line 67 replace:
CURRENT_DIR = $PWD_BIN / to CURRENT_DIR = /d/xampp/htdocs/magento/
Run the patch with the same command sh PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh
Note. Make sure you replace '/ d / xampp / htdocs / magento /' with the root directory.
and it will work like a charm!
source share