【发布时间】:2015-04-17 14:09:27
【问题描述】:
我昨天尝试使用 Supee 5344 补丁更新 magento,运行 sh 命令时出现以下错误。
127: not found
127: not found
0: not found
正在检查是否可以成功应用/恢复补丁...
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.
谁能帮我弄清楚我需要什么来解决这个问题?有没有办法手动实现补丁?
史蒂夫
【问题讨论】:
-
你的补丁版本不是开发者使用的任何版本......你无能为力,除了让他们修复他们的脚本。