I'm trying to patch a file in a subdir. According to busybox patch --help this syntax should be supported, but it does not work... Expected behaviour: $ patch subdir/a some.patch patching file subdir/a But BusyBox ignores the subdir completely: $ busybox patch subdir/a some.patch patching file a patch: can't open 'a': No such file or directory If a file exists in the current dir, it tries to patch that instead: $ touch a $ busybox patch subdir/a some.patch patching file a Hunk 1 FAILED 1/1. -foobar +barfoo Even if it succeeds, subdir/a remains unpatched.
Fixed in git. Thanks!