I am trying to install the newly release security patch for magento 1.9. I am working on window system.
and I am getting the following error.
D:\xampp\htdocs\magento>sh PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh
ERROR: "/app/etc/" must exist for proper tool work.
I am running command by CMD and SH
is working fine too
I tried with Git too. but getting same error
Not working on Linux too
can anyone tell me what is the exact issue and how it could be fixed.
Thanks
Best Answer
Able to make it works on windows machine as well for PATCH_SUPEE-5344_CE_1.8.0.0_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.Copy this path and edit file, on line 67 replace:
CURRENT_DIR=
$PWD_BIN
/ to CURRENT_DIR=/d/xampp/htdocs/magento/
Run patch with same commnd
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 your directory root.
and it will work like a charm!!