I am trying to install the security patches via SSH and I am getting the following errors:
www.mysite.com@www01:~$ sh ./html/PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh
./html/PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 24: 127: not found
./html/PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 24: 127: not found
./html/PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 29: cannot create 0: Permission denied
./html/PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh: 29: 0: not found
ERROR: "/www/sites/www.mysite.com/app/etc/" must exist for proper tool work.
www.mysite.com@www01:~$ sh ./html/PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh
./html/PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh: 24: 127: not found
./html/PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh: 24: 127: not found
./html/PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh: 29: cannot create 0: Permission denied
./html/PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh: 29: 0: not found
ERROR: "/www/sites/www.mysite.com/app/etc/" must exist for proper tool work.
Any ideas?