Bug 10401

Summary: patch command works not properly with -p
Product: Busybox Reporter: Jinyan Zhang <crazyzh1984>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.25.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: shell output

Description Jinyan Zhang 2017-10-13 02:44:46 UTC
Created attachment 7281 [details]
shell output

with patch file
https://github.com/docker-library/golang/blob/master/1.8/alpine3.5/no-pic.patch

shell:
/ # cd /usr/local/go/src/
/usr/local/go/src # patch -p2 -i /home/alpine/no-pic.patch
patching file cmd/link/internal/ld/lib.go
': No such file or directoryinternal/ld/lib.go

not works with busybox patch command,
but works with GNU patch 2.7.5