Вопрос

I'm following the instructions at http://www.magentocommerce.com/knowledge-base/entry/apply-revert-magento-patches?icid=BLOG_php54_knowledgebase but not getting the listed results. I have 3 sh patches downloaded into my magento root, but when I run them (sh patchname.sh) I immediately get a command prompt again. I'm not getting success or failure. Just a bounce right back to the command prompt. I'm running FreeBSD and the first patch I'm looking at specifies /bin/sh, which does in fact exist. What am I missing here?

edit

I was downloading with IE. On a whim I decided to try Chrome. Appears the line ending handling is different. The Chrome download version gives me:

PATCH_SUPEE-2677_EE_1.13.0.2_v2.sh: 127: not found
PATCH_SUPEE-2677_EE_1.13.0.2_v2.sh: 127: not found
PATCH_SUPEE-2677_EE_1.13.0.2_v2.sh: 0: not found
Checking if patch can be applied/reverted successfully... patch: unrecognized option `--dry-run'
Usage: /usr/bin/patch [options] [origfile [patchfile]] [+[options] [origfile]]...
Options:
[-cCeEflnNRsStuv] [-b backup-ext] [-B backup-prefix] [-d directory]
[-D symbol] [-F max-fuzz] [-i patchfile] [-o out-file] [-p[strip-count]]
[-r rej-name] [-V {numbered,existing,simple}] [--check] [--context]
[--prefix=backup-prefix] [--suffix=backup-ext] [--ifdef=symbol]
[--directory=directory] [--ed] [--fuzz=max-fuzz] [--force] [--batch]
[--ignore-whitespace] [--forward] [--reverse] [--output=out-file]
[--strip[=strip-count]] [--normal] [--reject-file=rej-name] [--skip]
[--remove-empty-files] [--quiet] [--silent] [--unified] [--version]
[--version-control={numbered,existing,simple}] [--index-first]
ERROR: Patch can't be applied/reverted successfully.

Not terribly informative as to why it won't install, but at least it's something more to work with.

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с magento.stackexchange
scroll top