Opened 7 years ago
Last modified 5 years ago
#4846 closed defect
Make sure the Jenkins build script can patch itself — at Initial Version
Reported by: | Itms | Owned by: | Itms |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Build & Packages | Keywords: | |
Cc: | Patch: |
Description
Case in point: building Phab:D1026 failed with
`
build/jenkins/build-patch.sh: 69: cd: can't cd to build/workspaces/gcc
`
meaning that the unpatched version of the script was still being executed. As far as I know a script that modifies itself keeps track of the current position in the file, so I have to assume the issue comes from the patched code being higher in the file (line 69) than the place where the patching happens (line 102).
I don't see an obvious way to fix this so I'm opening this ticket for tracking future improvements. Suggestions are welcome as well :-)
Note:
See TracTickets
for help on using tickets.